org.ow2.petals.communication.jndi.agent
Class StandaloneJNDIAgentServiceImpl
java.lang.Object
org.ow2.petals.communication.jndi.agent.AbstractJNDIAgentServiceImpl
org.ow2.petals.communication.jndi.agent.StandaloneJNDIAgentServiceImpl
- All Implemented Interfaces:
- JNDIAgentService
public class StandaloneJNDIAgentServiceImpl
- extends AbstractJNDIAgentServiceImpl
The standalone implementation of the PEtALS JNDI agent
JNDIAgentService.
- Since:
- Petals 2.3
- Author:
- rnaudin - EbmWebsourcing
|
Method Summary |
boolean |
containsContext(java.lang.String key)
Check if a naming Context matching the given key exits. |
java.util.Map<java.lang.String,java.io.Serializable> |
getContext(java.lang.String key)
Get the Naming Context matching the given key. |
void |
removeContext(java.lang.String key)
Remove the naming Context matching the given key. |
protected void |
start()
|
protected void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandaloneJNDIAgentServiceImpl
public StandaloneJNDIAgentServiceImpl()
containsContext
public boolean containsContext(java.lang.String key)
throws javax.naming.ServiceUnavailableException
- Description copied from class:
AbstractJNDIAgentServiceImpl
- Check if a naming Context matching the given key exits.
- Specified by:
containsContext in class AbstractJNDIAgentServiceImpl
- Returns:
true if it exists
- Throws:
javax.naming.ServiceUnavailableException
getContext
public java.util.Map<java.lang.String,java.io.Serializable> getContext(java.lang.String key)
throws javax.naming.ServiceUnavailableException
- Description copied from class:
AbstractJNDIAgentServiceImpl
- Get the Naming Context matching the given key. Create a new Naming
Context if it doesn't exist.
- Specified by:
getContext in class AbstractJNDIAgentServiceImpl
- Parameters:
key - The key bound to the Naming Context
- Returns:
- The matching Naming Context map
- Throws:
javax.naming.ServiceUnavailableException
removeContext
public void removeContext(java.lang.String key)
throws javax.naming.ServiceUnavailableException
- Description copied from class:
AbstractJNDIAgentServiceImpl
- Remove the naming Context matching the given key.
- Specified by:
removeContext in class AbstractJNDIAgentServiceImpl
- Throws:
javax.naming.ServiceUnavailableException
start
protected void start()
stop
protected void stop()
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.