public class ServiceHost extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static ServiceHost |
LOCAL_SERVER |
Constructor and Description |
---|
ServiceHost() |
ServiceHost(Class<? extends ServiceLocator> serverClass) |
ServiceHost(Class<? extends ServiceLocator> serverClass,
String[] groups) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
boolean |
equals(Object obj) |
ServiceGroup[] |
getGroups() |
String |
getHost() |
int |
getPort() |
Properties |
getProperties() |
String |
getProperty(String key) |
String |
getProperty(String key,
String defValue) |
ServiceLocator |
getServiceLocator() |
String |
getServiceLocatorClass() |
int |
hashCode() |
Object |
lookup(ServiceDescriptor sd) |
void |
setAddress(String host,
int port) |
void |
setGroups(String[] groups) |
void |
setProperties(Properties properties) |
public static final ServiceHost LOCAL_SERVER
public ServiceHost()
public ServiceHost(Class<? extends ServiceLocator> serverClass)
public ServiceHost(Class<? extends ServiceLocator> serverClass, String[] groups)
public String getServiceLocatorClass()
public String getHost()
public int getPort()
public void setAddress(String host, int port)
public void setProperties(Properties properties)
public Properties getProperties()
public void setGroups(String[] groups)
public ServiceGroup[] getGroups()
public ServiceLocator getServiceLocator() throws Exception
Exception
public void dispose()
public Object lookup(ServiceDescriptor sd) throws Exception
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.