public abstract class _AdminSessionDisp extends Ice.ObjectImpl implements AdminSession
Registry
object or the registry admin SessionManager object.Registry,
SessionManager,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId| Constructor and Description |
|---|
_AdminSessionDisp() |
| Modifier and Type | Method and Description |
|---|---|
static Ice.DispatchStatus |
___finishUpdate(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getAdmin(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getAdminCallbackTemplate(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getReplicaName(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___keepAlive(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___openNodeStdErr(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___openNodeStdOut(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___openRegistryStdErr(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___openRegistryStdOut(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___openServerLog(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___openServerStdErr(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___openServerStdOut(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setObservers(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setObserversByIdentity(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___startUpdate(AdminSession __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
void |
destroy()
Destroy the session.
|
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.
|
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
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.
|
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshalequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinishUpdate, getAdmin, getAdminCallbackTemplate, getReplicaName, keepAlive, openNodeStdErr, openNodeStdOut, openRegistryStdErr, openRegistryStdOut, openServerLog, openServerStdErr, openServerStdOut, setObservers, setObserversByIdentity, startUpdate__read, __read, __write, __write, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshaldestroypublic static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic boolean ice_isA(java.lang.String s)
ice_isA in interface Ice.Objectice_isA in class Ice.ObjectImplpublic boolean ice_isA(java.lang.String s,
Ice.Current __current)
ice_isA in interface Ice.Objectice_isA in class Ice.ObjectImplpublic java.lang.String[] ice_ids()
ice_ids in interface Ice.Objectice_ids in class Ice.ObjectImplpublic java.lang.String[] ice_ids(Ice.Current __current)
ice_ids in interface Ice.Objectice_ids in class Ice.ObjectImplpublic java.lang.String ice_id()
ice_id in interface Ice.Objectice_id in class Ice.ObjectImplpublic java.lang.String ice_id(Ice.Current __current)
ice_id in interface Ice.Objectice_id in class Ice.ObjectImplpublic static java.lang.String ice_staticId()
public final void destroy()
destroy in interface Glacier2._SessionOperationsNCpublic final void finishUpdate()
throws AccessDeniedException
finishUpdate in interface _AdminSessionOperationsNCAccessDeniedException - Raised if the session doesn't hold the
exclusive lock.public final AdminPrx getAdmin()
getAdmin in interface _AdminSessionOperationsNCpublic final Ice.ObjectPrx getAdminCallbackTemplate()
getAdminCallbackTemplate in interface _AdminSessionOperationsNCpublic final java.lang.String getReplicaName()
getReplicaName in interface _AdminSessionOperationsNCpublic final void keepAlive()
keepAlive in interface _AdminSessionOperationsNC_RegistryOperations.getSessionTimeout(Ice.Current)public final FileIteratorPrx openNodeStdErr(java.lang.String name, int count) throws FileNotAvailableException, NodeNotExistException, NodeUnreachableException
openNodeStdErr in interface _AdminSessionOperationsNCname - 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.public final FileIteratorPrx openNodeStdOut(java.lang.String name, int count) throws FileNotAvailableException, NodeNotExistException, NodeUnreachableException
openNodeStdOut in interface _AdminSessionOperationsNCname - 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.public final FileIteratorPrx openRegistryStdErr(java.lang.String name, int count) throws FileNotAvailableException, RegistryNotExistException, RegistryUnreachableException
openRegistryStdErr in interface _AdminSessionOperationsNCname - 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.public final FileIteratorPrx openRegistryStdOut(java.lang.String name, int count) throws FileNotAvailableException, RegistryNotExistException, RegistryUnreachableException
openRegistryStdOut in interface _AdminSessionOperationsNCname - 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.public final FileIteratorPrx openServerLog(java.lang.String id, java.lang.String path, int count) throws DeploymentException, FileNotAvailableException, NodeUnreachableException, ServerNotExistException
openServerLog in interface _AdminSessionOperationsNCid - 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.public final FileIteratorPrx openServerStdErr(java.lang.String id, int count) throws DeploymentException, FileNotAvailableException, NodeUnreachableException, ServerNotExistException
openServerStdErr in interface _AdminSessionOperationsNCid - 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.public final FileIteratorPrx openServerStdOut(java.lang.String id, int count) throws DeploymentException, FileNotAvailableException, NodeUnreachableException, ServerNotExistException
openServerStdOut in interface _AdminSessionOperationsNCid - 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.public final void setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs) throws ObserverAlreadyRegisteredException
setObservers in interface _AdminSessionOperationsNCregistryObs - 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.public final void setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs) throws ObserverAlreadyRegisteredException
setObserversByIdentity in interface _AdminSessionOperationsNCregistryObs - 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.public final int startUpdate()
throws AccessDeniedException
startUpdate in interface _AdminSessionOperationsNCAccessDeniedException - Raised if the exclusive lock can't be
acquired. This might happen if the lock is currently acquired by
another session.public static Ice.DispatchStatus ___keepAlive(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getAdmin(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getAdminCallbackTemplate(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setObservers(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setObserversByIdentity(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___startUpdate(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___finishUpdate(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getReplicaName(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___openServerLog(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___openServerStdErr(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___openServerStdOut(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___openNodeStdErr(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___openNodeStdOut(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___openRegistryStdErr(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___openRegistryStdOut(AdminSession __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch in interface Ice.Object__dispatch in class Ice.ObjectImplprotected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl in class Ice.ObjectImplprotected void __readImpl(IceInternal.BasicStream __is)
__readImpl in class Ice.ObjectImpl