|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ontotext.ordi.tripleset.WarningAwareImpl
com.ontotext.ordi.tripleset.DataSourceImpl
com.ontotext.ordi.wsmo4rdf.impl.WsmoSourceImpl
public class WsmoSourceImpl
Field Summary |
---|
Fields inherited from class com.ontotext.ordi.tripleset.DataSourceImpl |
---|
properties |
Fields inherited from class com.ontotext.ordi.tripleset.WarningAwareImpl |
---|
warning |
Fields inherited from interface com.ontotext.ordi.wsmo4rdf.WsmoSource |
---|
ORDI_SOURCE |
Constructor Summary | |
---|---|
WsmoSourceImpl(Map<Object,Object> params)
|
Method Summary | ||
---|---|---|
void |
clearWarnings()
Clears all reported warnings by the object. |
|
protected void |
finalize()
|
|
WsmoConnection |
getConnection()
Create new connection with default values. |
|
WsmoConnection |
getConnection(String user,
String pass)
Creates a new connection with specified user name and password. |
|
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 com.ontotext.ordi.tripleset.DataSourceImpl |
---|
getMetaData |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ontotext.ordi.DataSource |
---|
getMetaData |
Constructor Detail |
---|
public WsmoSourceImpl(Map<Object,Object> params)
Method Detail |
---|
public WsmoConnection 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 boolean isWrapperFor(Class<?> iface) throws ORDIException
Wrapper
isWrapperFor
in interface Wrapper
isWrapperFor
in class DataSourceImpl
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
unwrap
in class DataSourceImpl
iface
- a Class defining an interface.
ORDIException
public void clearWarnings()
WarningAware
clearWarnings
in interface WarningAware
clearWarnings
in class WarningAwareImpl
public ORDIWarning getWarning()
WarningAware
getWarning
in interface WarningAware
getWarning
in class WarningAwareImpl
ORDIWarning
or null if there are none.public void shutdown()
DataSource
shutdown
in interface DataSource
public boolean isShutdown()
DataSource
isShutdown
in interface DataSource
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |