|
SOAj Core v. 1.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.soaj.core.properties.SjPluginProperties
public class SjPluginProperties
This immutable object contains property values declared in a descriptor document. Values for active plugins are uniquely traceable using the plugin key.
Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com .
| Field Summary | |
|---|---|
private static java.lang.String |
CLASS_NAME
Class name. |
protected java.util.Properties |
pluginAbstractProperties
The abstract plugin properties. |
protected boolean |
pluginActive
The plugin status. |
protected SjPopulatedPluginClassName |
pluginClassName
The name of the plugin class. |
protected java.util.Properties |
pluginConcreteProperties
The concrete plugin properties. |
protected SjPopulatedPluginCreate |
pluginCreate
The declared creation technique for a plugin. |
protected SjPopulatedPluginKey |
pluginKey
The key used for unique identification. |
protected java.util.Properties |
pluginProperties
The combined plugin properties. |
private static long |
serialVersionUID
UID |
| Constructor Summary | |
|---|---|
SjPluginProperties(java.lang.String pluginKey,
boolean pluginActive,
java.lang.String pluginCreate,
java.lang.String pluginClassName,
java.util.Properties pluginAbstractProperties,
java.util.Properties pluginConcreteProperties)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
containsPluginProperties()
This method indicates whether plugin properties are defined. |
boolean |
containsPropertyKey(java.lang.String propertyKey)
This method is a convenience search for the property with the specified key in this property list. |
boolean |
containsPropertyKey(java.lang.String propertyKey,
boolean suppressNullValueCheck)
This method is a convenience search for a property with the specified key. |
boolean |
containsPropertyValue(java.lang.String propertyValue)
This method returns true if one or more properties exist with this value. |
boolean |
containsPropertyValue(java.lang.String propertyValue,
java.lang.String propertyKey)
This method returns true if a property value exists for the property key specified. |
boolean |
containsPropertyValueBoolean(java.lang.String propertyKey)
This method returns true if a property value exists for the property key specified. |
boolean |
containsPropertyValueNull(java.lang.String propertyKey)
This method returns true if the specified property has a declared value of "null". |
java.util.Properties |
getPluginAbstractProperties()
This method returns the pluginAbstractProperties attribute. |
SjPopulatedPluginClassName |
getPluginClassName()
This method returns the pluginClassName attribute. |
java.util.Properties |
getPluginConcreteProperties()
This method returns the pluginConcreteProperties attribute. |
SjPopulatedPluginCreate |
getPluginCreate()
This method returns the pluginCreate attribute. |
SjPopulatedPluginKey |
getPluginKey()
This method returns the pluginKey attribute. |
java.util.Properties |
getPluginProperties()
This method returns combined plugin properties or null. |
java.lang.String[] |
getPropertyArray(java.lang.String propertyKey)
This method conveniently parses the property. |
boolean |
getPropertyBoolean(java.lang.String propertyKey)
This method conveniently returns a boolean. |
int |
getPropertyInt(java.lang.String propertyKey)
This method conveniently returns a boolean. |
java.lang.String |
getPropertyValue(java.lang.String propertyKey)
This method returns the property value for the specified key. |
boolean |
isPluginActive()
This method returns the pluginActive attribute. |
boolean |
isPluginAlwaysInstantiated()
This method indicates a declared mode for plugin creation. |
boolean |
isPluginCached()
This method indicates a declared mode for plugin creation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private static final java.lang.String CLASS_NAME
protected final SjPopulatedPluginKey pluginKey
protected final boolean pluginActive
protected final SjPopulatedPluginCreate pluginCreate
protected final SjPopulatedPluginClassName pluginClassName
protected final java.util.Properties pluginProperties
protected final java.util.Properties pluginAbstractProperties
protected final java.util.Properties pluginConcreteProperties
| Constructor Detail |
|---|
public SjPluginProperties(java.lang.String pluginKey,
boolean pluginActive,
java.lang.String pluginCreate,
java.lang.String pluginClassName,
java.util.Properties pluginAbstractProperties,
java.util.Properties pluginConcreteProperties)
pluginKey - pluginActive - pluginCreate - pluginClassName - pluginAbstractProperties - May be nullpluginConcreteProperties - May be null.| Method Detail |
|---|
public SjPopulatedPluginKey getPluginKey()
pluginKey attribute.
public boolean isPluginActive()
pluginActive attribute.
public SjPopulatedPluginCreate getPluginCreate()
pluginCreate attribute.
public SjPopulatedPluginClassName getPluginClassName()
pluginClassName attribute.
public java.util.Properties getPluginProperties()
throws SjCoreExceptionFindingProperties
null.
pluginProperties
or null.
SjCoreExceptionFindingPropertiespublic java.util.Properties getPluginAbstractProperties()
pluginAbstractProperties attribute.
public java.util.Properties getPluginConcreteProperties()
pluginConcreteProperties attribute.
public boolean isPluginAlwaysInstantiated()
public boolean isPluginCached()
public boolean containsPluginProperties()
public boolean containsPropertyKey(java.lang.String propertyKey)
boolean indicates whether the
property is in the list.
propertyKey - The property key.
public boolean containsPropertyKey(java.lang.String propertyKey,
boolean suppressNullValueCheck)
boolean indicates whether the property is in the
list. This overloaded version may also check whether the value is "null".
propertyKey - The property key.suppressNullValueCheck -
public boolean containsPropertyValue(java.lang.String propertyValue)
propertyValue - The property value.
public boolean containsPropertyValue(java.lang.String propertyValue,
java.lang.String propertyKey)
null.
propertyValue - The property value.propertyKey - The property key.
public boolean containsPropertyValueBoolean(java.lang.String propertyKey)
propertyKey - The property key.
public boolean containsPropertyValueNull(java.lang.String propertyKey)
propertyKey - The property key.
public java.lang.String getPropertyValue(java.lang.String propertyKey)
propertyKey - The property key.
public java.lang.String[] getPropertyArray(java.lang.String propertyKey)
propertyKey - The property key.
public boolean getPropertyBoolean(java.lang.String propertyKey)
throws SjCoreExceptionFindingProperties
boolean.
propertyKey - The property key.
SjCoreExceptionFindingProperties
public int getPropertyInt(java.lang.String propertyKey)
throws SjCoreExceptionFindingProperties
boolean.
propertyKey - The property key.
SjCoreExceptionFindingProperties
|
SOAj Core v. 1.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.