|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.runtime.remoting.ServerImpl
public class ServerImpl
| Constructor Summary | |
|---|---|
ServerImpl(RemotingService service,
RuntimeService runtime)
|
|
| Method Summary | |
|---|---|
void |
contributeExtension(Extension extension,
String xmlContent)
|
Collection<ComponentInstance> |
getActiveComponents()
|
byte[] |
getClass(ComponentName component,
String name)
|
ComponentInstance |
getComponent(ComponentName name)
|
ComponentInstance |
getComponent(String name)
|
ComponentName[] |
getComponents()
|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerImpl(RemotingService service,
RuntimeService runtime)
| Method Detail |
|---|
public String getName()
getName in interface Serverpublic String getProductInfo()
ServerProductName ProductVersion.
getProductInfo in interface Serverpublic String[] getServiceBindings()
Server[group, serviceInterface, name, locator], [group, serviceInterface, name, locator], ...So each service binding takes 4 consecutive entries in the array
getServiceBindings in interface Server
public Properties[] getServiceHosts()
throws Exception
ServerThere 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)
getServiceHosts in interface ServerException
public Map<String,Object[][]> getSecurityDomains()
throws Exception
ServerAppConfigurationEntry 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.
getSecurityDomains in interface ServerExceptionAppConfigurationEntry,
SecurityDomainpublic Properties getProperties()
Server
getProperties in interface Serverpublic ComponentName[] getComponents()
getComponents in interface Serverpublic boolean hasComponent(ComponentName name)
hasComponent in interface Serverpublic Collection<ComponentInstance> getActiveComponents()
getActiveComponents in interface Serverpublic ComponentInstance getComponent(String name)
getComponent in interface Serverpublic ComponentInstance getComponent(ComponentName name)
getComponent in interface Serverpublic String getDescription()
getDescription in interface Serverpublic Collection<RegistrationInfo> getRegistrations()
getRegistrations in interface Serverpublic String getServerAddress()
getServerAddress in interface Server
public void contributeExtension(Extension extension,
String xmlContent)
throws Exception
Exception
public byte[] getLocalResource(ComponentName component,
String name)
getLocalResource in interface Server
public byte[] getResource(ComponentName component,
String name)
getResource in interface Server
public byte[] getClass(ComponentName component,
String name)
getClass in interface Server
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||