|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamingServiceMBean
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 | |
---|---|
void |
createAlias(String fromName,
String toName)
Create an alias |
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 |
removeAlias(String name)
Remove an alias |
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, getUseGlobalService, setBacklog, setBindAddress, setClientSocketFactory, setInstallGlobalService, setJNPServerSocketFactory, setPort, setRmiBindAddress, setRmiPort, setServerSocketFactory, setUseGlobalService, start, stop |
Field Detail |
---|
static final javax.management.ObjectName OBJECT_NAME
Method Detail |
---|
void setLookupPool(org.jboss.util.threadpool.BasicThreadPoolMBean poolMBean)
poolMBean
- boolean getCallByValue()
void setCallByValue(boolean flag)
flag
- - true if all lookups are unmarshalled using the caller's TCL, false if in VM lookups return the value by reference.Map getMethodMap()
Object invoke(Invocation invocation) throws Exception
invocation
- A pointer to the invocation object
Exception
- Failed to invoke method.void createAlias(String fromName, String toName) throws Exception
fromName
- the from nametoName
- the to name
Exception
- for any errorvoid removeAlias(String name) throws Exception
name
- the name
Exception
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |