public interface _AdminSessionOperations extends Glacier2._SessionOperations
Registry
object or the registry admin SessionManager object.Registry,
SessionManager| Modifier and Type | Method and Description |
|---|---|
void |
finishUpdate(Ice.Current __current)
Finish updating the registry and release the exclusive lock.
|
AdminPrx |
getAdmin(Ice.Current __current)
Get the admin interface.
|
Ice.ObjectPrx |
getAdminCallbackTemplate(Ice.Current __current)
Get a "template" proxy for admin callback objects.
|
java.lang.String |
getReplicaName(Ice.Current __current)
Get the name of the registry replica hosting this session.
|
void |
keepAlive(Ice.Current __current)
Keep the session alive.
|
FileIteratorPrx |
openNodeStdErr(java.lang.String name,
int count,
Ice.Current __current)
Open the given node stderr file for reading.
|
FileIteratorPrx |
openNodeStdOut(java.lang.String name,
int count,
Ice.Current __current)
Open the given node stdout file for reading.
|
FileIteratorPrx |
openRegistryStdErr(java.lang.String name,
int count,
Ice.Current __current)
Open the given registry stderr file for reading.
|
FileIteratorPrx |
openRegistryStdOut(java.lang.String name,
int count,
Ice.Current __current)
Open the given registry stdout file for reading.
|
FileIteratorPrx |
openServerLog(java.lang.String id,
java.lang.String path,
int count,
Ice.Current __current)
Open the given server log file for reading.
|
FileIteratorPrx |
openServerStdErr(java.lang.String id,
int count,
Ice.Current __current)
Open the given server stderr file for reading.
|
FileIteratorPrx |
openServerStdOut(java.lang.String id,
int count,
Ice.Current __current)
Open the given server stdout file for reading.
|
void |
setObservers(RegistryObserverPrx registryObs,
NodeObserverPrx nodeObs,
ApplicationObserverPrx appObs,
AdapterObserverPrx adptObs,
ObjectObserverPrx objObs,
Ice.Current __current)
Set the observer proxies that receive
notifications when the state of the registry
or nodes changes.
|
void |
setObserversByIdentity(Ice.Identity registryObs,
Ice.Identity nodeObs,
Ice.Identity appObs,
Ice.Identity adptObs,
Ice.Identity objObs,
Ice.Current __current)
Set the observer identities that receive
notifications the state of the registry
or nodes changes.
|
int |
startUpdate(Ice.Current __current)
Acquires an exclusive lock to start updating the registry applications.
|
destroyvoid keepAlive(Ice.Current __current)
__current - The Current object for the invocation._RegistryOperations.getSessionTimeout(Ice.Current)AdminPrx getAdmin(Ice.Current __current)
__current - The Current object for the invocation.Ice.ObjectPrx getAdminCallbackTemplate(Ice.Current __current)
__current - The Current object for the invocation.void setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs, Ice.Current __current) throws ObserverAlreadyRegisteredException
registryObs - The registry observer.nodeObs - The node observer.appObs - The application observer.adptObs - The adapter observer.objObs - The object observer.__current - The Current object for the invocation.ObserverAlreadyRegisteredException - Raised if an
observer is already registered with this registry.void setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs, Ice.Current __current) throws ObserverAlreadyRegisteredException
registryObs - The registry observer identity.nodeObs - The node observer identity.appObs - The application observer.adptObs - The adapter observer.objObs - The object observer.__current - The Current object for the invocation.ObserverAlreadyRegisteredException - Raised if an
observer is already registered with this registry.int startUpdate(Ice.Current __current) throws AccessDeniedException
__current - The Current object for the invocation.AccessDeniedException - Raised if the exclusive lock can't be
acquired. This might happen if the lock is currently acquired by
another session.void finishUpdate(Ice.Current __current) throws AccessDeniedException
__current - The Current object for the invocation.AccessDeniedException - Raised if the session doesn't hold the
exclusive lock.java.lang.String getReplicaName(Ice.Current __current)
__current - The Current object for the invocation.FileIteratorPrx openServerLog(java.lang.String id, java.lang.String path, int count, Ice.Current __current) throws DeploymentException, FileNotAvailableException, NodeUnreachableException, ServerNotExistException
id - The server id.path - The path of the log file. A log file can be opened
only if it's declared in the server or service deployment
descriptor.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.ServerNotExistException - Raised if the server doesn't
exist.NodeUnreachableException - Raised if the node could not
be reached.DeploymentException - Raised if the server couldn't be
deployed on the node.FileIteratorPrx openServerStdErr(java.lang.String id, int count, Ice.Current __current) throws DeploymentException, FileNotAvailableException, NodeUnreachableException, ServerNotExistException
id - The server id.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.ServerNotExistException - Raised if the server doesn't
exist.NodeUnreachableException - Raised if the node could not
be reached.DeploymentException - Raised if the server couldn't be
deployed on the node.FileIteratorPrx openServerStdOut(java.lang.String id, int count, Ice.Current __current) throws DeploymentException, FileNotAvailableException, NodeUnreachableException, ServerNotExistException
id - The server id.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.ServerNotExistException - Raised if the server doesn't
exist.NodeUnreachableException - Raised if the node could not
be reached.DeploymentException - Raised if the server couldn't be
deployed on the node.FileIteratorPrx openNodeStdErr(java.lang.String name, int count, Ice.Current __current) throws FileNotAvailableException, NodeNotExistException, NodeUnreachableException
name - The node name.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.NodeNotExistException - Raised if the node doesn't exist.NodeUnreachableException - Raised if the node could not
be reached.FileIteratorPrx openNodeStdOut(java.lang.String name, int count, Ice.Current __current) throws FileNotAvailableException, NodeNotExistException, NodeUnreachableException
name - The node name.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.NodeNotExistException - Raised if the node doesn't exist.NodeUnreachableException - Raised if the node could not
be reached.FileIteratorPrx openRegistryStdErr(java.lang.String name, int count, Ice.Current __current) throws FileNotAvailableException, RegistryNotExistException, RegistryUnreachableException
name - The registry name.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.RegistryNotExistException - Raised if the registry
doesn't exist.RegistryUnreachableException - Raised if the registry
could not be reached.FileIteratorPrx openRegistryStdOut(java.lang.String name, int count, Ice.Current __current) throws FileNotAvailableException, RegistryNotExistException, RegistryUnreachableException
name - The registry name.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.RegistryNotExistException - Raised if the registry
doesn't exist.RegistryUnreachableException - Raised if the registry
could not be reached.