public class _RepositoryStub extends ObjectImpl implements Repository
Constructor and Description |
---|
_RepositoryStub() |
Modifier and Type | Method and Description |
---|---|
String[] |
_ids()
Retrieves a string array containing the repository identifiers
supported by this
ObjectImpl object. |
String[] |
getApplicationNames()
Returns list of ALL applicationNames defined in ServerDefs of registered
servers.
|
ServerDef |
getServer(String serverId)
get server definition
|
String |
getServerID(String applicationName)
Find the ServerID associated with the given application name.
|
void |
install(String serverId)
Mark the server as being installed.
|
boolean |
isInstalled(String serverId)
Return whether the server has been installed
|
String[] |
listRegisteredServers()
list registered servers
|
String |
registerServer(ServerDef serverDef)
register server definition.
|
void |
uninstall(String serverId)
Mark the server as being uninstalled.
|
void |
unregisterServer(String serverId)
unregister server definition
|
_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 String registerServer(ServerDef serverDef) throws ServerAlreadyRegistered, BadServerDefinition
registerServer
in interface RepositoryOperations
ServerAlreadyRegistered
BadServerDefinition
public void unregisterServer(String serverId) throws ServerNotRegistered
unregisterServer
in interface RepositoryOperations
ServerNotRegistered
public ServerDef getServer(String serverId) throws ServerNotRegistered
getServer
in interface RepositoryOperations
ServerNotRegistered
public boolean isInstalled(String serverId) throws ServerNotRegistered
isInstalled
in interface RepositoryOperations
ServerNotRegistered
public void install(String serverId) throws ServerNotRegistered, ServerAlreadyInstalled
install
in interface RepositoryOperations
ServerNotRegistered
ServerAlreadyInstalled
public void uninstall(String serverId) throws ServerNotRegistered, ServerAlreadyUninstalled
uninstall
in interface RepositoryOperations
ServerNotRegistered
ServerAlreadyUninstalled
public String[] listRegisteredServers()
listRegisteredServers
in interface RepositoryOperations
public String[] getApplicationNames()
getApplicationNames
in interface RepositoryOperations
public String getServerID(String applicationName) throws ServerNotRegistered
getServerID
in interface RepositoryOperations
ServerNotRegistered
public String[] _ids()
ObjectImpl
ObjectImpl
object. For example,
for a stub, this method returns information about all the
interfaces supported by the stub._ids
in class ObjectImpl
ObjectImpl
instanceCopyright © 2019 JBoss by Red Hat. All rights reserved.