org.siebengeisslein.client
Class ConnectionRef
java.lang.Object
org.siebengeisslein.util.HasLog
org.siebengeisslein.client.ConnectionRef
public class ConnectionRef
- extends HasLog
| Methods inherited from class org.siebengeisslein.util.HasLog |
getLog |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionRef
public ConnectionRef(ConnectionBuilder connectionBuilder,
AccessGroupFactory accessFactory)
throws java.io.IOException,
CoreException
- Throws:
java.io.IOException
CoreException
getNewRefs
public NewRefs getNewRefs()
setApplications
public void setApplications(Applications applications)
getApplications
public Applications getApplications()
createTransaction
public ClientTransaction createTransaction()
createTransaction
public ClientTransaction createTransaction(ApplicationIdFactory appIdFactory)
createSoftRef
protected ConnectionRef.SoftRef createSoftRef(java.lang.Long loid,
Ref ref)
close
public void close()
setRoot
public void setRoot(java.lang.String name,
Persistent persistent)
throws java.io.IOException,
CoreException
- Throws:
java.io.IOException
CoreException
removeRoot
public void removeRoot(java.lang.String name)
throws java.io.IOException,
CoreException
- Throws:
java.io.IOException
CoreException
getRoot
public Persistent getRoot(java.lang.String name)
throws java.io.IOException,
CoreException,
UnknownRootException,
UnknownOIDException,
ConversionException,
AccessControlException,
java.lang.InterruptedException
- Throws:
java.io.IOException
CoreException
UnknownRootException
UnknownOIDException
ConversionException
AccessControlException
java.lang.InterruptedException
expire
public void expire(java.lang.ClassLoader cl)
expire
public void expire(Ref ref)
waitForNotifications
public void waitForNotifications()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException