站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

LinkRefPairService (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.naming
Class LinkRefPairService

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.naming.LinkRefPairService
All Implemented Interfaces:
LinkRefPairServiceMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class LinkRefPairService
extends org.jboss.system.ServiceMBeanSupport
implements LinkRefPairServiceMBean

An mbean used to construct a link ref pair

Version:
$Revision: 1.1 $
Author:
Adrian Brock (adrian@jboss.com)

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
LinkRefPairService()
           
 
Method Summary
 String getJndiName()
          The jndi name where the link ref pair is bound
 String getLocalJndiName()
          The jndi name of the local binding
 String getRemoteJndiName()
          The jndi name of the remote binding
 void setJndiName(String jndiName)
          Set the jndi name where the link ref pair is bound
 void setLocalJndiName(String jndiName)
          Set the jndi name of the local binding
 void setRemoteJndiName(String jndiName)
          Set the jndi name of the remote binding
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

LinkRefPairService

public LinkRefPairService()
Method Detail

getJndiName

public String getJndiName()
Description copied from interface: LinkRefPairServiceMBean
The jndi name where the link ref pair is bound

Specified by:
getJndiName in interface LinkRefPairServiceMBean
Returns:
the jndi name

getLocalJndiName

public String getLocalJndiName()
Description copied from interface: LinkRefPairServiceMBean
The jndi name of the local binding

Specified by:
getLocalJndiName in interface LinkRefPairServiceMBean
Returns:
the jndi name

getRemoteJndiName

public String getRemoteJndiName()
Description copied from interface: LinkRefPairServiceMBean
The jndi name of the remote binding

Specified by:
getRemoteJndiName in interface LinkRefPairServiceMBean
Returns:
the jndi name

setJndiName

public void setJndiName(String jndiName)
Description copied from interface: LinkRefPairServiceMBean
Set the jndi name where the link ref pair is bound

Specified by:
setJndiName in interface LinkRefPairServiceMBean
Parameters:
jndiName - the jndi name

setLocalJndiName

public void setLocalJndiName(String jndiName)
Description copied from interface: LinkRefPairServiceMBean
Set the jndi name of the local binding

Specified by:
setLocalJndiName in interface LinkRefPairServiceMBean
Parameters:
jndiName - the jndi name

setRemoteJndiName

public void setRemoteJndiName(String jndiName)
Description copied from interface: LinkRefPairServiceMBean
Set the jndi name of the remote binding

Specified by:
setRemoteJndiName in interface LinkRefPairServiceMBean
Parameters:
jndiName - the jndi name

startService

protected void startService()
                     throws Exception
Throws:
Exception

stopService

protected void stopService()
                    throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.