|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ontotext.ordi.wsmo4rdf.remote.client.RemoteWsmoSource
public class RemoteWsmoSource
Field Summary |
---|
Fields inherited from interface com.ontotext.ordi.wsmo4rdf.WsmoSource |
---|
ORDI_SOURCE |
Constructor Summary | |
---|---|
RemoteWsmoSource(int remoteId,
RemoteWsmo4rdfGate gate)
|
Method Summary | ||
---|---|---|
void |
clearWarnings()
Clears all reported warnings by the object. |
|
void |
finalize()
|
|
RemoteWsmoConnection |
getConnection()
Create new connection with default values. |
|
WsmoConnection |
getConnection(String user,
String pass)
Creates a new connection with specified user name and password. |
|
Map<Object,Object> |
getMetaData()
Retrieves the meta-data properties used to create this DataSource . |
|
ORDIWarning |
getWarning()
Retrieves the first warning reported by the object |
|
boolean |
isShutdown()
Verifies whether the server instance is shutdown. |
|
boolean |
isWrapperFor(Class<?> iface)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. |
|
void |
shutdown()
Sends a signal to the server for shutdown. |
|
|
unwrap(Class<T> iface)
Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteWsmoSource(int remoteId, RemoteWsmo4rdfGate gate)
Method Detail |
---|
public void finalize()
finalize
in class Object
public RemoteWsmoConnection getConnection()
WsmoSource
getConnection
in interface DataSource
getConnection
in interface WsmoSource
public WsmoConnection getConnection(String user, String pass)
WsmoSource
getConnection
in interface DataSource
getConnection
in interface WsmoSource
user
- name to be used.pass
- of the specified user.
public Map<Object,Object> getMetaData()
DataSource
DataSource
.
getMetaData
in interface DataSource
public boolean isWrapperFor(Class<?> iface) throws ORDIException
Wrapper
isWrapperFor
in interface Wrapper
iface
- A Class defining an interface that the result must implement.
ORDIException
public <T> T unwrap(Class<T> iface) throws ORDIException
Wrapper
unwrap
in interface Wrapper
iface
- a Class defining an interface.
ORDIException
public void clearWarnings()
WarningAware
clearWarnings
in interface WarningAware
public ORDIWarning getWarning()
WarningAware
getWarning
in interface WarningAware
ORDIWarning
or null if there are none.public boolean isShutdown()
DataSource
isShutdown
in interface DataSource
public void shutdown()
DataSource
shutdown
in interface DataSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |