JBoss Remoting 3.1.0.Beta1

org.jboss.remoting3
Class ServiceRegistrationListener.ServiceInfo

java.lang.Object
  extended by org.jboss.remoting3.ServiceRegistrationListener.ServiceInfo
All Implemented Interfaces:
Cloneable
Enclosing interface:
ServiceRegistrationListener

public static final class ServiceRegistrationListener.ServiceInfo
extends Object
implements Cloneable

Information about a registered service.


Constructor Summary
ServiceRegistrationListener.ServiceInfo()
          Construct a new instance.
 
Method Summary
 ServiceRegistrationListener.ServiceInfo clone()
          Create a shallow clone.
 String getGroupName()
          Get the group name.
 org.jboss.xnio.OptionMap getOptionMap()
          Get the option map.
 Registration getRegistrationHandle()
          Get the registration handle.
 Class<?> getReplyClass()
          Get the reply class.
 Class<?> getRequestClass()
          Get the request class.
 ClassLoader getServiceClassLoader()
          Get the service's default classloader.
 String getServiceType()
          Get the service type.
 void setGroupName(String groupName)
          Set the group name.
 void setOptionMap(org.jboss.xnio.OptionMap optionMap)
          Set the option map.
 void setRegistrationHandle(Registration registrationHandle)
          Set the registration handle.
 void setReplyClass(Class<?> replyClass)
          Set the reply class.
 void setRequestClass(Class<?> requestClass)
          Set the request class.
 void setServiceClassLoader(ClassLoader serviceClassLoader)
          Set the service's default classloader.
 void setServiceType(String serviceType)
          Set the service type.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRegistrationListener.ServiceInfo

public ServiceRegistrationListener.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

getServiceClassLoader

public ClassLoader getServiceClassLoader()
Get the service's default classloader.

Returns:
the classloader

setServiceClassLoader

public void setServiceClassLoader(ClassLoader serviceClassLoader)
Set the service's default classloader.

Parameters:
serviceClassLoader - the classloader

getRequestClass

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

Returns:
the request class

setRequestClass

public void setRequestClass(Class<?> requestClass)
Set the request class.

Parameters:
requestClass - the request class

getReplyClass

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

Returns:
the reply class

setReplyClass

public void setReplyClass(Class<?> replyClass)
Set the reply class.

Parameters:
replyClass - the reply class

getOptionMap

public org.jboss.xnio.OptionMap getOptionMap()
Get the option map.

Returns:
the option map

setOptionMap

public void setOptionMap(org.jboss.xnio.OptionMap optionMap)
Set the option map.

Parameters:
optionMap - the option map

getRegistrationHandle

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

Returns:
the registration handle

setRegistrationHandle

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

Parameters:
registrationHandle - the registration handle

clone

public ServiceRegistrationListener.ServiceInfo clone()
Create a shallow clone.

Overrides:
clone in class Object
Returns:
the clone

JBoss Remoting 3.1.0.Beta1

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