|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Server
Method Summary | |
---|---|
java.util.Collection<ComponentInstance> |
getActiveComponents()
|
byte[] |
getClass(ComponentName component,
java.lang.String name)
|
ComponentInstance |
getComponent(ComponentName name)
|
ComponentInstance |
getComponent(java.lang.String name)
|
ComponentName[] |
getComponents()
|
ServerConfiguration |
getConfiguration(InvokerLocator locator,
Version version)
|
java.lang.String |
getDescription()
|
byte[] |
getLocalResource(ComponentName component,
java.lang.String name)
|
java.lang.String |
getName()
|
java.lang.String |
getProductInfo()
Gets the product info as a string of the form: ProductName ProductVersion . |
java.util.Properties |
getProperties()
Gets the runtime properties as a Java properties file content. |
java.util.Collection<RegistrationInfo> |
getRegistrations()
|
byte[] |
getResource(ComponentName component,
java.lang.String name)
|
java.util.Map<java.lang.String,java.lang.Object[][]> |
getSecurityDomains()
Gets the login configuration of this server. |
java.lang.String |
getServerAddress()
|
java.lang.String[] |
getServiceBindings()
Returns the service binding configuration as a string array containing the following informations: [group, serviceInterface, name, locator], [group, serviceInterface, name, locator], ... |
java.util.Properties[] |
getServiceHosts()
Returns the service locators as an array of service locator properties. |
boolean |
hasComponent(ComponentName name)
|
Method Detail |
---|
ServerConfiguration getConfiguration(InvokerLocator locator, Version version) throws ConfigurationException
ConfigurationException
java.lang.String getName()
java.lang.String getDescription()
ComponentName[] getComponents()
boolean hasComponent(ComponentName name)
java.util.Collection<ComponentInstance> getActiveComponents()
java.util.Collection<RegistrationInfo> getRegistrations()
java.lang.String getServerAddress()
ComponentInstance getComponent(java.lang.String name)
ComponentInstance getComponent(ComponentName name)
java.lang.String getProductInfo()
ProductName ProductVersion
.
java.lang.String[] getServiceBindings()
[group, serviceInterface, name, locator], [group, serviceInterface, name, locator], ...So each service binding takes 4 consecutive entries in the array.
java.util.Properties[] getServiceHosts() throws java.lang.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)
java.lang.Exception
java.util.Map<java.lang.String,java.lang.Object[][]> getSecurityDomains() throws java.lang.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
.
java.lang.Exception
AppConfigurationEntry
,
SecurityDomain
java.util.Properties getProperties()
byte[] getClass(ComponentName component, java.lang.String name)
byte[] getResource(ComponentName component, java.lang.String name)
byte[] getLocalResource(ComponentName component, java.lang.String name)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |