JBoss Remoting 3.0.0.Beta2

org.jboss.remoting
Class ServiceListener.ServiceInfo

java.lang.Object
  extended by org.jboss.remoting.ServiceListener.ServiceInfo
Enclosing interface:
ServiceListener

public static final class ServiceListener.ServiceInfo
extends Object

Information about a registered service.


Constructor Summary
ServiceListener.ServiceInfo()
          Construct a new instance.
 
Method Summary
 String getEndpointName()
          Get the endpoint name.
 String getGroupName()
          Get the group name.
 int getMetric()
          Get the metric.
 SimpleCloseable getRegistrationHandle()
          Get the registration handle.
 RequestHandlerSource getRequestHandlerSource()
          Get the request handler source.
 String getServiceType()
          Get the service type.
 boolean isRemote()
          Determine whether this service is remote.
 void setEndpointName(String endpointName)
          Set the endpoint name.
 void setGroupName(String groupName)
          Set the group name.
 void setMetric(int metric)
          Set the metric.
 void setRegistrationHandle(SimpleCloseable registrationHandle)
          Set the registration handle.
 void setRemote(boolean remote)
          Specify whether this service is remote.
 void setRequestHandlerSource(RequestHandlerSource requestHandlerSource)
          Set the request handler source.
 void setServiceType(String serviceType)
          Set the service type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceListener.ServiceInfo

public ServiceListener.ServiceInfo()
Construct a new instance.

Method Detail

getServiceType

public String getServiceType()
Get the service type.

Returns:
the service type

setServiceType

public void setServiceType(String serviceType)
Set the service type.

Parameters:
serviceType - the service type

getGroupName

public String getGroupName()
Get the group name.

Returns:
the group name

setGroupName

public void setGroupName(String groupName)
Set the group name.

Parameters:
groupName - the group name

getMetric

public int getMetric()
Get the metric.

Returns:
the metric

setMetric

public void setMetric(int metric)
Set the metric.

Parameters:
metric - the metric

getRequestHandlerSource

public RequestHandlerSource getRequestHandlerSource()
Get the request handler source.

Returns:
the request handler source

setRequestHandlerSource

public void setRequestHandlerSource(RequestHandlerSource requestHandlerSource)
Set the request handler source.

Parameters:
requestHandlerSource - the request handler source

getRegistrationHandle

public SimpleCloseable getRegistrationHandle()
Get the registration handle. Closing this handle will remove the registration.

Returns:
the registration handle

setRegistrationHandle

public void setRegistrationHandle(SimpleCloseable registrationHandle)
Set the registration handle.

Parameters:
registrationHandle - the registration handle

getEndpointName

public String getEndpointName()
Get the endpoint name. For local services, this will be the name of the local endpoint.

Returns:
the endpoint name

setEndpointName

public void setEndpointName(String endpointName)
Set the endpoint name.

Parameters:
endpointName - the endpoint name

isRemote

public boolean isRemote()
Determine whether this service is remote.

Returns:
true if this service is remote

setRemote

public void setRemote(boolean remote)
Specify whether this service is remote.

Parameters:
remote - true if this service is remote

JBoss Remoting 3.0.0.Beta2

Copyright © 2008 JBoss, a division of Red Hat, Inc.