|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.communication.jndi.agent.AbstractJNDIAgentServiceImpl
public abstract class AbstractJNDIAgentServiceImpl
The abstract implementation of the PEtALS JNDI agent JNDIAgentService
.
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.io.Serializable>> |
data
Data stored in this distributed registry |
protected DomainConfiguration |
domainConfiguration
The domain configuration |
static java.lang.String |
INITIAL_CONTEXT
|
protected org.ow2.petals.util.LoggingUtil |
log
Logging utility |
protected RegistryUtil |
registryUtil
Registry utility |
| Fields inherited from interface org.ow2.petals.communication.jndi.agent.JNDIAgentService |
|---|
ENVIRONMENT_LOCAL_CONNECTION, JNDI_PETALS_FACTORY |
| Constructor Summary | |
|---|---|
AbstractJNDIAgentServiceImpl()
|
|
| Method Summary | |
|---|---|
abstract boolean |
containsContext(java.lang.String key)
Check if a naming Context matching the given key exits. |
abstract java.util.Map<java.lang.String,java.io.Serializable> |
getContext(java.lang.String key)
Get the Naming Context matching the given key. |
DomainConfiguration |
getDomainConfiguration()
|
org.ow2.petals.util.LoggingUtil |
getLog()
|
java.lang.Object |
processRequest(RegistryRequest request)
Process the given JNDI request. |
abstract void |
removeContext(java.lang.String key)
Remove the naming Context matching the given key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String INITIAL_CONTEXT
protected DomainConfiguration domainConfiguration
protected org.ow2.petals.util.LoggingUtil log
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.io.Serializable>> data
protected RegistryUtil registryUtil
| Constructor Detail |
|---|
public AbstractJNDIAgentServiceImpl()
| Method Detail |
|---|
public java.lang.Object processRequest(RegistryRequest request)
throws javax.naming.NamingException
JNDIAgentService
processRequest in interface JNDIAgentServicerequest - the request
javax.naming.NamingExceptionpublic org.ow2.petals.util.LoggingUtil getLog()
public DomainConfiguration getDomainConfiguration()
public abstract boolean containsContext(java.lang.String key)
throws javax.naming.ServiceUnavailableException
key -
true if it exists
javax.naming.ServiceUnavailableException
public abstract java.util.Map<java.lang.String,java.io.Serializable> getContext(java.lang.String key)
throws javax.naming.ServiceUnavailableException
key - The key bound to the Naming Context
javax.naming.NotContextException
javax.naming.ServiceUnavailableException
public abstract void removeContext(java.lang.String key)
throws javax.naming.ServiceUnavailableException
key -
javax.naming.ServiceUnavailableException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||