|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.jndi.JNDIBaseStorable
public abstract class JNDIBaseStorable
Facilitates objects to be stored in JNDI as properties
| Constructor Summary | |
|---|---|
JNDIBaseStorable()
|
|
| Method Summary | |
|---|---|
protected abstract void |
buildFromProperties(Properties props)
Set the properties that will represent the instance in JNDI |
Properties |
getProperties()
Get the properties from this instance for storing in JNDI |
Reference |
getReference()
Retrive a Reference for this instance to store in JNDI |
protected abstract void |
populateProperties(Properties props)
Initialize the instance from properties stored in JNDI |
void |
readExternal(ObjectInput in)
|
void |
setProperties(Properties props)
set the properties for this instance as retrieved from JNDI |
void |
writeExternal(ObjectOutput out)
|
| 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(Properties props)
props - protected abstract void populateProperties(Properties props)
props - public void setProperties(Properties props)
setProperties in interface JNDIStorableInterfaceprops - public Properties getProperties()
getProperties in interface JNDIStorableInterface
public Reference getReference()
throws NamingException
getReference in interface ReferenceableNamingException - if error on building Reference
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface Externalizablein -
IOException
ClassNotFoundExceptionExternalizable.readExternal(java.io.ObjectInput)
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface Externalizableout -
IOExceptionExternalizable.writeExternal(java.io.ObjectOutput)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||