|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.services.properties.DeploymentPropertiesExtractor
public class DeploymentPropertiesExtractor
This is an implementation of PropertiesExtractor
made for Deployments.
Deployment
Field Summary | |
---|---|
static java.lang.String |
DEPLOYMENT_PREFIX
Constant for the default properties prefix applied during extraction |
Constructor Summary | |
---|---|
DeploymentPropertiesExtractor()
Creates a new instance of DeploymentPropertiesExtractor |
Method Summary | |
---|---|
java.util.Properties |
extract(Deployment deployment)
Extract a set of properies from the given deployment. |
java.util.Properties |
extract(Deployment deployment,
java.lang.String prefix)
Extract a set of properies from the given deployment. |
java.util.Properties |
extract(java.lang.Object obj)
Extract a set of properties from the given object. |
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 DEPLOYMENT_PREFIX
Constructor Detail |
---|
public DeploymentPropertiesExtractor()
Method Detail |
---|
public java.util.Properties extract(Deployment deployment)
deployment
- The deployment to extract properties from
public java.util.Properties extract(Deployment deployment, java.lang.String prefix)
deployment
- The deployment 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 |