|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.activemq.jndi.JNDIBaseStorable
Faciliates objects to be stored in JNDI as properties
Constructor Summary | |
JNDIBaseStorable()
|
Method Summary | |
protected abstract void |
buildFromProperties(java.util.Properties props)
Set the properties that will represent the instance in JNDI |
java.util.Properties |
getProperties()
Get the properties from this instance for storing in JNDI |
javax.naming.Reference |
getReference()
Retrive a Reference for this instance to store in JNDI |
protected abstract void |
populateProperties(java.util.Properties props)
Initialize the instance from properties stored in JNDI |
void |
setProperties(java.util.Properties props)
set the properties for this instance as retrieved from JNDI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JNDIBaseStorable()
Method Detail |
protected abstract void buildFromProperties(java.util.Properties props)
props
- protected abstract void populateProperties(java.util.Properties props)
props
- public void setProperties(java.util.Properties props)
setProperties
in interface JNDIStorableInterface
props
- public java.util.Properties getProperties()
getProperties
in interface JNDIStorableInterface
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
- if error on building Reference
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |