public interface _AdminSessionOperationsNC extends Glacier2._SessionOperationsNC
Registry
object or the registry admin SessionManager object.Registry,
SessionManager| Modifier and Type | Method and Description |
|---|---|
void |
finishUpdate()
Finish updating the registry and release the exclusive lock.
|
AdminPrx |
getAdmin()
Get the admin interface.
|
Ice.ObjectPrx |
getAdminCallbackTemplate()
Get a "template" proxy for admin callback objects.
|
java.lang.String |
getReplicaName()
Get the name of the registry replica hosting this session.
|
void |
keepAlive()
Keep the session alive.
|
FileIteratorPrx |
openNodeStdErr(java.lang.String name,
int count)
Open the given node stderr file for reading.
|
FileIteratorPrx |
openNodeStdOut(java.lang.String name,
int count)
Open the given node stdout file for reading.
|
FileIteratorPrx |
openRegistryStdErr(java.lang.String name,
int count)
Open the given registry stderr file for reading.
|
FileIteratorPrx |
openRegistryStdOut(java.lang.String name,
int count)
Open the given registry stdout file for reading.
|
FileIteratorPrx |
openServerLog(java.lang.String id,
java.lang.String path,
int count)
Open the given server log file for reading.
|
FileIteratorPrx |
openServerStdErr(java.lang.String id,
int count)
Open the given server stderr file for reading.
|
FileIteratorPrx |
openServerStdOut(java.lang.String id,
int count)
Open the given server stdout file for reading.
|
void |
setObservers(RegistryObserverPrx registryObs,
NodeObserverPrx nodeObs,
ApplicationObserverPrx appObs,
AdapterObserverPrx adptObs,
ObjectObserverPrx objObs)
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)
Set the observer identities that receive
notifications the state of the registry
or nodes changes.
|
int |
startUpdate()
Acquires an exclusive lock to start updating the registry applications.
|
destroyvoid keepAlive()
AdminPrx getAdmin()
Ice.ObjectPrx getAdminCallbackTemplate()
void setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs) throws ObserverAlreadyRegisteredException
registryObs - The registry observer.nodeObs - The node observer.appObs - The application observer.adptObs - The adapter observer.objObs - The object observer.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) throws ObserverAlreadyRegisteredException
registryObs - The registry observer identity.nodeObs - The node observer identity.appObs - The application observer.adptObs - The adapter observer.objObs - The object observer.ObserverAlreadyRegisteredException - Raised if an
observer is already registered with this registry.int startUpdate()
throws AccessDeniedException
AccessDeniedException - Raised if the exclusive lock can't be
acquired. This might happen if the lock is currently acquired by
another session.void finishUpdate()
throws AccessDeniedException
AccessDeniedException - Raised if the session doesn't hold the
exclusive lock.java.lang.String getReplicaName()
FileIteratorPrx openServerLog(java.lang.String id, java.lang.String path, int count) 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.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) 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.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) 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.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) 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.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) 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.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) 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.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) 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.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.