public class RepositoryImpl extends com.sun.corba.se.spi.activation._RepositoryImplBase implements Serializable
Modifier and Type | Method and Description |
---|---|
String[] |
getApplicationNames() |
ServerDef |
getServer(int serverId) |
int |
getServerID(String applicationName) |
void |
install(int serverId) |
boolean |
isInstalled(int serverId) |
int[] |
listRegisteredServers() |
static void |
main(String[] args)
Typically the Repositoy is created within the ORBd VM but it can
be independently started as well.
|
int |
registerServer(ServerDef serverDef) |
int |
registerServer(ServerDef serverDef,
int theServerId) |
void |
uninstall(int serverId) |
void |
unregisterServer(int serverId) |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
public int registerServer(ServerDef serverDef, int theServerId) throws ServerAlreadyRegistered
ServerAlreadyRegistered
public int registerServer(ServerDef serverDef) throws ServerAlreadyRegistered, BadServerDefinition
registerServer
in interface RepositoryOperations
ServerAlreadyRegistered
BadServerDefinition
public void unregisterServer(int serverId) throws ServerNotRegistered
unregisterServer
in interface RepositoryOperations
ServerNotRegistered
public ServerDef getServer(int serverId) throws ServerNotRegistered
getServer
in interface RepositoryOperations
ServerNotRegistered
public boolean isInstalled(int serverId) throws ServerNotRegistered
isInstalled
in interface RepositoryOperations
ServerNotRegistered
public void install(int serverId) throws ServerNotRegistered, ServerAlreadyInstalled
install
in interface RepositoryOperations
ServerNotRegistered
ServerAlreadyInstalled
public void uninstall(int serverId) throws ServerNotRegistered, ServerAlreadyUninstalled
uninstall
in interface RepositoryOperations
ServerNotRegistered
ServerAlreadyUninstalled
public int[] listRegisteredServers()
listRegisteredServers
in interface RepositoryOperations
public int getServerID(String applicationName) throws ServerNotRegistered
getServerID
in interface RepositoryOperations
ServerNotRegistered
public String[] getApplicationNames()
getApplicationNames
in interface RepositoryOperations
public static void main(String[] args)
Copyright © 2019 JBoss by Red Hat. All rights reserved.