Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.api
Class Platform

java.lang.Object
  extended by org.nuxeo.ecm.platform.api.Platform
All Implemented Interfaces:
Serializable

Deprecated. Use Framework API instead. Will be removed in 5.2.

@Deprecated
public final class Platform
extends Object
implements Serializable

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.

Author:
Bogdan Stefanescu
See Also:
Serialized Form

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.  
<T> T
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

Platform

public Platform(String name)
Deprecated. 
Method Detail

addServer

public void addServer(ServerDescriptor sd)
               throws Exception
Deprecated. 
Throws:
Exception

removeServer

public void removeServer(String name)
Deprecated. 

getName

public String getName()
Deprecated. 

getService

public <T> T getService(Class<T> remoteItf)
             throws Exception
Deprecated. 
Throws:
Exception

openRepository

public CoreSession openRepository(String repositoryName)
                           throws Exception
Deprecated. 
Throws:
Exception

openRepository

public CoreSession openRepository(String repositoryName,
                                  Map<String,Serializable> ctx)
                           throws Exception
Deprecated. 
Throws:
Exception

getServers

public ServerDescriptor[] getServers()
Deprecated. 

getDefaultRepository

public Repository getDefaultRepository()
Deprecated. 

dispose

public void dispose()
Deprecated. 

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.