org.nuxeo.runtime.api
Class ServiceHost
java.lang.Object
org.nuxeo.runtime.api.ServiceHost
- All Implemented Interfaces:
- Serializable
public class ServiceHost
- extends Object
- implements Serializable
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
LOCAL_SERVER
public static final ServiceHost LOCAL_SERVER
ServiceHost
public ServiceHost()
ServiceHost
public ServiceHost(Class<? extends ServiceLocator> serverClass)
ServiceHost
public ServiceHost(Class<? extends ServiceLocator> serverClass,
String[] groups)
getServiceLocatorClass
public String getServiceLocatorClass()
getHost
public String getHost()
getPort
public int getPort()
setAddress
public void setAddress(String host,
int port)
setProperties
public void setProperties(Properties properties)
getProperties
public Properties getProperties()
getProperty
public String getProperty(String key)
getProperty
public String getProperty(String key,
String defValue)
setGroups
public void setGroups(String[] groups)
getGroups
public ServiceGroup[] getGroups()
getServiceLocator
public ServiceLocator getServiceLocator()
throws Exception
- Throws:
Exception
dispose
public void dispose()
lookup
public Object lookup(ServiceDescriptor sd)
throws Exception
- Throws:
Exception
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.