|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.service.XHandler
inetsoft.uql.service.RemoteHandler
public class RemoteHandler
Specialization of XHandler that acts as a stub for a handler on a team server.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.service.XHandler |
|---|
repository |
| Constructor Summary | |
|---|---|
RemoteHandler(Object session,
XDataSource dx,
VariableTable params,
inetsoft.util.repository.ServerRepository repository)
Creates a new instance of RemoteHandler. |
|
| Method Summary | |
|---|---|
void |
close()
Close the data source connection. |
void |
connect(XDataSource datasource,
VariableTable params)
Connect to the data source. |
XNode |
execute(XQuery query,
VariableTable params,
Principal user,
inetsoft.util.DataCacheVisitor visitor)
Execute the query. |
XNode |
getMetaData(XNode mtype)
Build the meta data of this data source as a XNode tree. |
void |
testDataSource(XDataSource datasource,
VariableTable params)
Test the data source. |
| Methods inherited from class inetsoft.uql.service.XHandler |
|---|
getQueryKey, postProcess, prepareVariableTable, reset, reset, setRepository, setSession |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteHandler(Object session,
XDataSource dx,
VariableTable params,
inetsoft.util.repository.ServerRepository repository)
throws Exception
session - the data session key.dx - the data source.params - the connection parameters.repository - the repository that contains the configuration of the
team server.
Exception - if the remote handler could not be created.| Method Detail |
|---|
public XNode execute(XQuery query,
VariableTable params,
Principal user,
inetsoft.util.DataCacheVisitor visitor)
throws Exception
execute in class XHandlerparams - parameters for query.
Exception
public void connect(XDataSource datasource,
VariableTable params)
throws Exception
connect in class XHandlerdatasource - the data source name.params - parameters for connection.
Exception
public void testDataSource(XDataSource datasource,
VariableTable params)
throws Exception
testDataSource in class XHandlerdatasource - the data source name.params - parameters for connection.
Exception
public XNode getMetaData(XNode mtype)
throws Exception
getMetaData in class XHandlermtype - meta data type, defined in each data source.
Exception
public void close()
throws Exception
close in class XHandlerException
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||