public abstract class JNDIBaseStorable extends java.lang.Object implements JNDIStorableInterface, java.io.Externalizable
| Constructor and Description |
|---|
JNDIBaseStorable() |
| Modifier and Type | Method and Description |
|---|---|
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 |
readExternal(java.io.ObjectInput in) |
void |
setProperties(java.util.Properties props)
set the properties for this instance as retrieved from JNDI
|
void |
writeExternal(java.io.ObjectOutput out) |
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 JNDIStorableInterfaceprops - public java.util.Properties getProperties()
getProperties in interface JNDIStorableInterfacepublic javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException - if error on building Referencepublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - java.io.IOExceptionjava.lang.ClassNotFoundExceptionExternalizable.readExternal(java.io.ObjectInput)public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - java.io.IOExceptionExternalizable.writeExternal(java.io.ObjectOutput)Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.