public interface Server
| Modifier and Type | Method and Description |
|---|---|
Collection<ComponentInstance> |
getActiveComponents() |
byte[] |
getClass(ComponentName component,
String name) |
ComponentInstance |
getComponent(ComponentName name) |
ComponentInstance |
getComponent(String name) |
ComponentName[] |
getComponents() |
ServerConfiguration |
getConfiguration(InvokerLocator locator,
Version version) |
String |
getDescription() |
byte[] |
getLocalResource(ComponentName component,
String name) |
String |
getName() |
String |
getProductInfo()
Gets the product info as a string of the form:
ProductName ProductVersion. |
Properties |
getProperties()
Gets the runtime properties as a Java properties file content.
|
Collection<RegistrationInfo> |
getRegistrations() |
byte[] |
getResource(ComponentName component,
String name) |
Map<String,Object[][]> |
getSecurityDomains()
Gets the login configuration of this server.
|
String |
getServerAddress() |
String[] |
getServiceBindings()
Returns the service binding configuration as a string array containing the
following informations:
|
Properties[] |
getServiceHosts()
Returns the service locators as an array of service locator properties.
|
boolean |
hasComponent(ComponentName name) |
ServerConfiguration getConfiguration(InvokerLocator locator, Version version) throws ConfigurationException
ConfigurationExceptionString getName()
String getDescription()
ComponentName[] getComponents()
boolean hasComponent(ComponentName name)
Collection<ComponentInstance> getActiveComponents()
Collection<RegistrationInfo> getRegistrations()
String getServerAddress()
ComponentInstance getComponent(String name)
ComponentInstance getComponent(ComponentName name)
String getProductInfo()
ProductName ProductVersion.String[] getServiceBindings()
[group, serviceInterface, name, locator], [group, serviceInterface, name, locator], ...So each service binding takes 4 consecutive entries in the array.
Properties[] getServiceHosts() throws Exception
There are 4 special properties that can be used:
@class - the service locator class name (a String)
@host - the server host (a String)
@port - the server port (an Integer)
@groups - the server service groups (a String array)ExceptionMap<String,Object[][]> getSecurityDomains() throws Exception
AppConfigurationEntry objects
Since these objects are not serializable they will be represented as an
Object[] array of 3 elements:
String
String
Map
Object[3][]
array of 3 length object arrays describing the
AppConfigurationEntry.ExceptionAppConfigurationEntry,
SecurityDomainProperties getProperties()
byte[] getClass(ComponentName component, String name)
byte[] getResource(ComponentName component, String name)
byte[] getLocalResource(ComponentName component, String name)
Copyright © 2013 Nuxeo SA. All Rights Reserved.