|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.p13n.http.HttpConfigurableEntity
A default implementation for Http Request and Http Session objects mimick a ConfigurableEntity. This does not extend the new AbstractConfigurableEntity becuase it is not really storing values based on property sets, just implementing this interface to provide easy access to request and session attributes.
| Field Summary |
| Fields inherited from interface com.bea.p13n.property.ConfigurableEntity |
RESERVED_PROPERTY_SET |
| Constructor Summary | |
HttpConfigurableEntity()
|
|
| Method Summary | |
String |
getJndiName()
This method is not supported. |
String |
getPkString()
This method is not supported. |
abstract Object |
getProperty(String propertySet,
String propertyName)
Mimics the two argument getProperty method on the
new com.bea.p13n.property.ConfigurableEntity interface. |
Object |
getProperty(String propertySet,
String propertyName,
Object defaultValue)
Provided as convenience method so client code can still provide a default value |
String |
getPropertyAsString(String set,
String prop)
Provided as convenience method to always return a String or null. |
static Object |
getPropertyDefault(String propertySetType,
String propertySet,
String propertyName)
Utility method for retrievng the default value from the PropertySet for the specified type, set, and name. |
abstract Object |
getPropertyNoDefault(String scopeName,
String key)
Mimics the two argument getPropertyNoDefault method on the
new com.bea.p13n.property.ConfigurableEntity interface. |
static PropertySetManager |
getPropertySetManager()
Get a reference to the PropertySetManager session bean. |
long |
getUniqueId()
This method is not supported. |
Object |
removeProperty(String aString,
String aString2)
This method is not supported. |
void |
setProperty(String aString,
String aString2,
Object anObject)
This method is not supported. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HttpConfigurableEntity()
| Method Detail |
public String getJndiName()
throws UnsupportedOperationException
getJndiName in interface ConfigurableEntityUnsupportedOperationException
public final String getPkString()
throws UnsupportedOperationException
getPkString in interface ConfigurableEntityUnsupportedOperationException
public abstract Object getProperty(String propertySet,
String propertyName)
getProperty method on the
new com.bea.p13n.property.ConfigurableEntity interface.
getProperty in interface ConfigurableEntitypropertySet - The name of the property set to look inpropertyName - The name of the property to retrieve.
public Object getProperty(String propertySet,
String propertyName,
Object defaultValue)
public String getPropertyAsString(String set,
String prop)
getPropertyAsString in interface ConfigurableEntityset - The name of the property set to look inprop - The name of the property to retrieve.
public static Object getPropertyDefault(String propertySetType,
String propertySet,
String propertyName)
propertySetType - the property set type (e.g. USER, EVENT,
REQUEST, SESSION).propertySet - the property set to look inpropertyName - the name of the property
public abstract Object getPropertyNoDefault(String scopeName,
String key)
getPropertyNoDefault method on the
new com.bea.p13n.property.ConfigurableEntity interface.
getPropertyNoDefault in interface ConfigurableEntityscopeName - The name of the property setkey - The name of the property to retrieve.
public static PropertySetManager getPropertySetManager()
throws NamingException,
CreateException,
RemoteException,
ClassCastException
NamingException
CreateException
RemoteException
ClassCastException
public long getUniqueId()
throws UnsupportedOperationException
getUniqueId in interface ConfigurableEntityUnsupportedOperationException
public Object removeProperty(String aString,
String aString2)
throws UnsupportedOperationException
removeProperty in interface ConfigurableEntityaString - The name of the property set.aString2 - The name of the property to remove.
UnsupportedOperationException
public void setProperty(String aString,
String aString2,
Object anObject)
throws UnsupportedOperationException
setProperty in interface ConfigurableEntityaString - The name of the property set.aString2 - The name of the property to assignanObject - The value to associate with the property name
UnsupportedOperationException
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||