public class RepositoryInstanceHandler extends Object implements InvocationHandler, RepositoryConnection, Serializable
Constructor and Description |
---|
RepositoryInstanceHandler(Repository repository) |
RepositoryInstanceHandler(Repository repository,
RepositoryExceptionHandler exceptionHandler) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
RepositoryExceptionHandler |
getExceptionHandler() |
RepositoryInstance |
getProxy() |
Class<?>[] |
getProxyInterfaces() |
Repository |
getRepository() |
CoreSession |
getSession() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
Object |
writeReplace() |
public static final Object NULL
public RepositoryInstanceHandler(Repository repository, RepositoryExceptionHandler exceptionHandler)
public RepositoryInstanceHandler(Repository repository)
public RepositoryExceptionHandler getExceptionHandler()
public RepositoryInstance getProxy()
public Class<?>[] getProxyInterfaces()
public Repository getRepository()
getRepository
in interface RepositoryConnection
public CoreSession getSession() throws Exception
getSession
in interface RepositoryConnection
Exception
public void close() throws Exception
close
in interface RepositoryConnection
Exception
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public Object writeReplace() throws ObjectStreamException
ObjectStreamException
Copyright © 2011 Nuxeo SA. All Rights Reserved.