Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.api
Class ServiceGroup

java.lang.Object
  extended by org.nuxeo.runtime.api.ServiceGroup
All Implemented Interfaces:
Serializable

public class ServiceGroup
extends Object
implements Serializable

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
ServiceGroup(String name)
           
 
Method Summary
 void addService(ServiceDescriptor sd)
           
 boolean equals(Object obj)
           
 String getName()
           
 ServiceHost getServer()
           
<T> T
getService(Class<T> serviceClass)
           
<T> T
getService(Class<T> serviceClass, String name)
           
 int hashCode()
           
 Object lookup(ServiceDescriptor sd)
           
 void removeService(ServiceDescriptor sd)
           
 void setServer(ServiceHost server)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceGroup

public ServiceGroup(String name)
Method Detail

getName

public String getName()

getServer

public ServiceHost getServer()

getService

public <T> T getService(Class<T> serviceClass)
             throws Exception
Throws:
Exception

getService

public <T> T getService(Class<T> serviceClass,
                        String name)
             throws Exception
Throws:
Exception

lookup

public Object lookup(ServiceDescriptor sd)
              throws Exception
Throws:
Exception

setServer

public void setServer(ServiceHost server)

addService

public void addService(ServiceDescriptor sd)

removeService

public void removeService(ServiceDescriptor sd)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.