|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.services.properties.PhysicalEnvironmentPropertiesExtractor
public class PhysicalEnvironmentPropertiesExtractor
This is an implementation of PropertiesExtractor
made for PhysicalEnvironments.
PhysicalEnvironment
Field Summary | |
---|---|
static java.lang.String |
ENVIRONMENT_PREFIX
Constant for the default properties prefix applied during extraction |
Constructor Summary | |
---|---|
PhysicalEnvironmentPropertiesExtractor()
Creates a new instance of PhysicalEnvironmentPropertiesExtractor |
Method Summary | |
---|---|
java.util.Properties |
extract(java.lang.Object obj)
Extract a set of properties from the given object. |
java.util.Properties |
extract(PhysicalEnvironment environment)
Extract a set of properies from the given environment. |
java.util.Properties |
extract(PhysicalEnvironment environment,
java.lang.String prefix)
Extract a set of properies from the given environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ENVIRONMENT_PREFIX
Constructor Detail |
---|
public PhysicalEnvironmentPropertiesExtractor()
Method Detail |
---|
public java.util.Properties extract(PhysicalEnvironment environment)
environment
- The environment to extract properties from
public java.util.Properties extract(PhysicalEnvironment environment, java.lang.String prefix)
environment
- The environment to extract properties fromprefix
- The prefix to append on each property
public java.util.Properties extract(java.lang.Object obj) throws InvalidParameterException
extract
in interface PropertiesExtractor
obj
- The object to extract properties from
InvalidParameterException
- if the object cannot be processed by implementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |