JBoss Remoting 3.0.0.Beta2

org.jboss.remoting
Class LocalServiceConfiguration<I,O>

java.lang.Object
  extended by org.jboss.remoting.LocalServiceConfiguration<I,O>

public final class LocalServiceConfiguration<I,O>
extends Object

A configuration for a service to be deployed into the endpoint.


Constructor Summary
LocalServiceConfiguration(RequestListener<I,O> requestListener, Class<I> requestClass, Class<O> replyClass)
          Construct a new instance.
 
Method Summary
 String getGroupName()
          Get the group name.
 int getMetric()
          Get the metric.
 Class<O> getReplyClass()
          Get the reply class.
 Class<I> getRequestClass()
          Get the request class.
 RequestListener<I,O> getRequestListener()
          Get the request listener for this service.
 String getServiceType()
          Get the service type.
 void setGroupName(String groupName)
          Set the group name.
 void setMetric(int metric)
          Set the metric.
 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

LocalServiceConfiguration

public LocalServiceConfiguration(RequestListener<I,O> requestListener,
                                 Class<I> requestClass,
                                 Class<O> replyClass)
Construct a new instance.

Parameters:
requestListener - the request listener
requestClass - the request class
replyClass - the reply class
Method Detail

getRequestListener

public RequestListener<I,O> getRequestListener()
Get the request listener for this service.

Returns:
the request listener

getRequestClass

public Class<I> getRequestClass()
Get the request class.

Returns:
the request class

getReplyClass

public Class<O> getReplyClass()
Get the reply class.

Returns:
the reply class

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

JBoss Remoting 3.0.0.Beta2

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