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

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


org.jboss.naming
Interface NamingServiceMBean

All Superinterfaces:
org.jnp.server.MainMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
NamingService

public interface NamingServiceMBean
extends org.jboss.system.ServiceMBean, org.jnp.server.MainMBean

MBean interface.


Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
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
 
Method Summary
 boolean getCallByValue()
          Get the call by value flag for jndi lookups.
 Map getMethodMap()
          Expose the Naming service interface mapping as a read-only attribute
 Object invoke(Invocation invocation)
          Expose the Naming service via JMX to invokers.
 void setCallByValue(boolean flag)
          Set the call by value flag for jndi lookups.
 void setLookupPool(org.jboss.util.threadpool.BasicThreadPoolMBean poolMBean)
          Set the thread pool used for the bootstrap lookups
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 
Methods inherited from interface org.jnp.server.MainMBean
getBacklog, getBindAddress, getClientSocketFactory, getInstallGlobalService, getPort, getRmiBindAddress, getRmiPort, getServerSocketFactory, setBacklog, setBindAddress, setClientSocketFactory, setInstallGlobalService, setJNPServerSocketFactory, setPort, setRmiBindAddress, setRmiPort, setServerSocketFactory, start, stop
 

Field Detail

OBJECT_NAME

public static final javax.management.ObjectName OBJECT_NAME
Method Detail

setLookupPool

public void setLookupPool(org.jboss.util.threadpool.BasicThreadPoolMBean poolMBean)
Set the thread pool used for the bootstrap lookups

Parameters:
poolMBean -

getCallByValue

public boolean getCallByValue()
Get the call by value flag for jndi lookups.

Returns:
true if all lookups are unmarshalled using the caller's TCL, false if in VM lookups return the value by reference.

setCallByValue

public void setCallByValue(boolean flag)
Set the call by value flag for jndi lookups.

Parameters:
flag - - true if all lookups are unmarshalled using the caller's TCL, false if in VM lookups return the value by reference.

getMethodMap

public Map getMethodMap()
Expose the Naming service interface mapping as a read-only attribute

Returns:
A Map of the Naming interface

invoke

public Object invoke(Invocation invocation)
              throws Exception
Expose the Naming service via JMX to invokers.

Parameters:
invocation - A pointer to the invocation object
Returns:
Return value of method invocation.
Throws:
Exception - Failed to invoke method.


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