org.nuxeo.runtime.api
Class ServiceGroup
java.lang.Object
org.nuxeo.runtime.api.ServiceGroup
- All Implemented Interfaces:
- Serializable
public class ServiceGroup
- extends Object
- implements Serializable
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
ServiceGroup
public ServiceGroup(String name)
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.