|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.api.Platform
Framework
API instead. Will be removed in 5.2.
@Deprecated public final class Platform
A client view on the application.
It enables the client to access platform services.
A platform is composed one or more servers running in different JVMs. The default server is the one on the same JVM as the client and must have the name "default".
Services are described by a host, port and other optional attributes and are exposing services and repositories to the local platform. These services are exposed via EJB3 remoting. If a service is not found on defined servers the platform will delegate the lookup on the local NXRuntime service registry.
Constructor Summary | |
---|---|
Platform(String name)
Deprecated. |
Method Summary | ||
---|---|---|
void |
addServer(ServerDescriptor sd)
Deprecated. |
|
void |
dispose()
Deprecated. |
|
Repository |
getDefaultRepository()
Deprecated. |
|
String |
getName()
Deprecated. |
|
ServerDescriptor[] |
getServers()
Deprecated. |
|
|
getService(Class<T> remoteItf)
Deprecated. |
|
CoreSession |
openRepository(String repositoryName)
Deprecated. |
|
CoreSession |
openRepository(String repositoryName,
Map<String,Serializable> ctx)
Deprecated. |
|
void |
removeServer(String name)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Platform(String name)
Method Detail |
---|
public void addServer(ServerDescriptor sd) throws Exception
Exception
public void removeServer(String name)
public String getName()
public <T> T getService(Class<T> remoteItf) throws Exception
Exception
public CoreSession openRepository(String repositoryName) throws Exception
Exception
public CoreSession openRepository(String repositoryName, Map<String,Serializable> ctx) throws Exception
Exception
public ServerDescriptor[] getServers()
public Repository getDefaultRepository()
public void dispose()
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |