|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.beans.metadata.spi.builder.BeanMetaDataBuilder
public abstract class BeanMetaDataBuilder
BeanMetaDataBuilder contract.
Constructor Summary | |
---|---|
BeanMetaDataBuilder()
|
Method Summary | |
---|---|
abstract BeanMetaDataBuilder |
addAlias(Object alias)
Add alias. |
abstract BeanMetaDataBuilder |
addAnnotation(Annotation annotation)
Add annotation. |
abstract BeanMetaDataBuilder |
addAnnotation(String annotation)
Add annotation. |
abstract BeanMetaDataBuilder |
addAnnotation(String annotation,
boolean replace)
Add annotation. |
abstract BeanMetaDataBuilder |
addConstructorParameter(String type,
Object value)
Add a constructor parameter |
abstract BeanMetaDataBuilder |
addConstructorParameter(String type,
String value)
Add a constructor parameter |
abstract BeanMetaDataBuilder |
addConstructorParameter(String type,
ValueMetaData value)
Add a constructor parameter |
abstract BeanMetaDataBuilder |
addCreateParameter(String type,
Object value)
Add a create parameter |
abstract BeanMetaDataBuilder |
addCreateParameter(String type,
String value)
Add a create parameter |
abstract BeanMetaDataBuilder |
addCreateParameter(String type,
ValueMetaData value)
Add a create parameter |
BeanMetaDataBuilder |
addDemand(Object demand)
Add a demand |
abstract BeanMetaDataBuilder |
addDemand(Object demand,
ControllerState whenRequired,
ControllerState targetState,
String transformer)
Add a demand |
BeanMetaDataBuilder |
addDemand(Object demand,
ControllerState whenRequired,
String transformer)
Add a demand |
BeanMetaDataBuilder |
addDemand(Object demand,
String whenRequired,
String transformer)
Add a demand |
abstract BeanMetaDataBuilder |
addDependency(Object dependency)
Add a dependency |
abstract BeanMetaDataBuilder |
addDestroyParameter(String type,
Object value)
Add a destroy parameter |
abstract BeanMetaDataBuilder |
addDestroyParameter(String type,
String value)
Add a destroy parameter |
abstract BeanMetaDataBuilder |
addDestroyParameter(String type,
ValueMetaData value)
Add a destroy parameter |
BeanMetaDataBuilder |
addInstall(String methodName)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String bean)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String[] types,
Object[] values)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String[] types,
String[] values)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String[] types,
ValueMetaData[] values)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String type,
Object value)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String type,
String value)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String bean,
String[] types,
Object[] values)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String bean,
String[] types,
String[] values)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String bean,
String[] types,
ValueMetaData[] values)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String bean,
String type,
Object value)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String bean,
String type,
String value)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String bean,
String type,
ValueMetaData value)
Add an install |
BeanMetaDataBuilder |
addInstall(String methodName,
String type,
ValueMetaData value)
Add an install |
ParameterMetaDataBuilder |
addInstallWithParameters(String methodName)
Add an install |
ParameterMetaDataBuilder |
addInstallWithParameters(String methodName,
String bean)
Add an install |
ParameterMetaDataBuilder |
addInstallWithParameters(String methodName,
String bean,
ControllerState state)
Add an install |
abstract ParameterMetaDataBuilder |
addInstallWithParameters(String methodName,
String bean,
ControllerState state,
ControllerState whenRequired)
Add an install |
BeanMetaDataBuilder |
addInstallWithThis(String methodName,
String bean)
Add an install with a this parameter |
BeanMetaDataBuilder |
addInstallWithThis(String methodName,
String bean,
ControllerState state)
Add an install with a this parameter |
BeanMetaDataBuilder |
addInstallWithThis(String methodName,
String bean,
ControllerState state,
ControllerState whenRequired)
Add an install with a this parameter |
BeanMetaDataBuilder |
addMethodInstallCallback(String method)
Add method install callback. |
BeanMetaDataBuilder |
addMethodInstallCallback(String method,
Cardinality cardinality)
Add method install callback. |
BeanMetaDataBuilder |
addMethodInstallCallback(String method,
ControllerState whenRequired)
Add method install callback. |
BeanMetaDataBuilder |
addMethodInstallCallback(String method,
ControllerState whenRequired,
Cardinality cardinality)
Add method install callback. |
abstract BeanMetaDataBuilder |
addMethodInstallCallback(String method,
String signature,
ControllerState whenRequired,
ControllerState dependentState,
Cardinality cardinality)
Add method install callback. |
BeanMetaDataBuilder |
addMethodUninstallCallback(String method)
Add method uninstall callback. |
BeanMetaDataBuilder |
addMethodUninstallCallback(String method,
Cardinality cardinality)
Add method uninstall callback. |
BeanMetaDataBuilder |
addMethodUninstallCallback(String method,
ControllerState whenRequired)
Add method uninstall callback. |
BeanMetaDataBuilder |
addMethodUninstallCallback(String method,
ControllerState whenRequired,
Cardinality cardinality)
Add method uninstall callback. |
abstract BeanMetaDataBuilder |
addMethodUninstallCallback(String method,
String signature,
ControllerState whenRequired,
ControllerState dependentState,
Cardinality cardinality)
Add method uninstall callback. |
abstract BeanMetaDataBuilder |
addPropertyAnnotation(String name,
Annotation annotation)
Add a property annotation. |
abstract BeanMetaDataBuilder |
addPropertyAnnotation(String name,
String annotation)
Add a property annotation. |
abstract BeanMetaDataBuilder |
addPropertyAnnotation(String name,
String annotation,
boolean replace)
Add a property annotation. |
BeanMetaDataBuilder |
addPropertyInstallCallback(String property)
Add property install callback. |
BeanMetaDataBuilder |
addPropertyInstallCallback(String property,
Cardinality cardinality)
Add property install callback. |
BeanMetaDataBuilder |
addPropertyInstallCallback(String property,
ControllerState whenRequired)
Add property install callback. |
BeanMetaDataBuilder |
addPropertyInstallCallback(String property,
ControllerState whenRequired,
Cardinality cardinality)
Add property install callback. |
abstract BeanMetaDataBuilder |
addPropertyInstallCallback(String property,
String signature,
ControllerState whenRequired,
ControllerState dependentState,
Cardinality cardinality)
Add property install callback. |
abstract BeanMetaDataBuilder |
addPropertyMetaData(String name,
Collection<ValueMetaData> value)
Add a property, replace it if it already exists |
abstract BeanMetaDataBuilder |
addPropertyMetaData(String name,
Map<ValueMetaData,ValueMetaData> value)
Add a property, replace it if it already exists |
abstract BeanMetaDataBuilder |
addPropertyMetaData(String name,
Object value)
Add a property, replace it if it already exists |
abstract BeanMetaDataBuilder |
addPropertyMetaData(String name,
String value)
Add a property, replace it if it already exists |
abstract BeanMetaDataBuilder |
addPropertyMetaData(String name,
ValueMetaData value)
Add a property, replace it if it already exists |
BeanMetaDataBuilder |
addPropertyUninstallCallback(String property)
Add property uninstall callback. |
BeanMetaDataBuilder |
addPropertyUninstallCallback(String property,
Cardinality cardinality)
Add property uninstall callback. |
BeanMetaDataBuilder |
addPropertyUninstallCallback(String property,
ControllerState whenRequired)
Add property uninstall callback. |
BeanMetaDataBuilder |
addPropertyUninstallCallback(String property,
ControllerState whenRequired,
Cardinality cardinality)
Add property uninstall callback. |
abstract BeanMetaDataBuilder |
addPropertyUninstallCallback(String property,
String signature,
ControllerState whenRequired,
ControllerState dependentState,
Cardinality cardinality)
Add property uninstall callback. |
abstract BeanMetaDataBuilder |
addRelatedClass(RelatedClassMetaData related)
Add related class. |
abstract BeanMetaDataBuilder |
addRelatedClass(String className,
Object... enabled)
Add related class. |
abstract BeanMetaDataBuilder |
addStartParameter(String type,
Object value)
Add a start parameter |
abstract BeanMetaDataBuilder |
addStartParameter(String type,
String value)
Add a start parameter |
abstract BeanMetaDataBuilder |
addStartParameter(String type,
ValueMetaData value)
Add a start parameter |
abstract BeanMetaDataBuilder |
addStopParameter(String type,
Object value)
Add a stop parameter |
abstract BeanMetaDataBuilder |
addStopParameter(String type,
String value)
Add a stop parameter |
abstract BeanMetaDataBuilder |
addStopParameter(String type,
ValueMetaData value)
Add a stop parameter |
BeanMetaDataBuilder |
addSupply(Object supply)
Add a supply |
abstract BeanMetaDataBuilder |
addSupply(Object supply,
String type)
Add a supply |
BeanMetaDataBuilder |
addUninstall(String methodName)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String bean)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String[] types,
Object[] values)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String[] types,
String[] values)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String[] types,
ValueMetaData[] values)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String type,
Object value)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String type,
String value)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String bean,
String[] types,
Object[] values)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String bean,
String[] types,
String[] values)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String bean,
String[] types,
ValueMetaData[] values)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String bean,
String type,
Object value)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String bean,
String type,
String value)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String bean,
String type,
ValueMetaData value)
Add an uninstall |
BeanMetaDataBuilder |
addUninstall(String methodName,
String type,
ValueMetaData value)
Add an uninstall |
ParameterMetaDataBuilder |
addUninstallWithParameters(String methodName)
Add an uninstall |
ParameterMetaDataBuilder |
addUninstallWithParameters(String methodName,
String bean)
Add an uninstall |
ParameterMetaDataBuilder |
addUninstallWithParameters(String methodName,
String bean,
ControllerState state)
Add an uninstall |
abstract ParameterMetaDataBuilder |
addUninstallWithParameters(String methodName,
String bean,
ControllerState state,
ControllerState whenRequired)
Add an uninstall |
BeanMetaDataBuilder |
addUninstallWithThis(String methodName,
String bean)
Add an uninstall with a this parameter |
BeanMetaDataBuilder |
addUninstallWithThis(String methodName,
String bean,
ControllerState state)
Add an uninstall with a this parameter |
BeanMetaDataBuilder |
addUninstallWithThis(String methodName,
String bean,
ControllerState state,
ControllerState whenRequired)
Add an uninstall with a this parameter |
BeanMetaDataFactory |
asBeanMetaDataFactory()
Get underlying bean as BeanMetaDataFactory. |
List<ValueMetaData> |
createArray()
Create a new array |
abstract List<ValueMetaData> |
createArray(String arrayType,
String elementType)
Create a new array |
static BeanMetaDataBuilder |
createBuilder(BeanMetaData beanMetaData)
Create builder from BeanMetaData |
static BeanMetaDataBuilder |
createBuilder(String beanClassName)
Create builder from bean. |
static BeanMetaDataBuilder |
createBuilder(String beanInstanceName,
String beanClassName)
Create builder from name and bean. |
Collection<ValueMetaData> |
createCollection()
Create a new collection |
abstract Collection<ValueMetaData> |
createCollection(String collectionType,
String elementType)
Create a new collection |
ValueMetaData |
createContextualInject()
Create contextual injection. |
ValueMetaData |
createContextualInject(ControllerState whenRequired,
ControllerState dependentState)
Create contextual injection. |
ValueMetaData |
createContextualInject(ControllerState whenRequired,
ControllerState dependentState,
AutowireType autowire,
InjectOption option)
Create contextual injection. |
abstract ValueMetaData |
createContextualInject(ControllerState whenRequired,
ControllerState dependentState,
AutowireType autowire,
InjectOption option,
SearchInfo search)
Create contextual injection. |
ValueMetaData |
createFromContextInject(FromContext fromContext)
Create from context injection. |
ValueMetaData |
createFromContextInject(FromContext fromContext,
Object contextName)
Create from context injection. |
ValueMetaData |
createFromContextInject(FromContext fromContext,
Object contextName,
ControllerState dependentState)
Create from context injection. |
abstract ValueMetaData |
createFromContextInject(FromContext fromContext,
Object contextName,
ControllerState dependentState,
SearchInfo search)
Create from context injection. |
ValueMetaData |
createInject(Object bean)
Create an injection |
ValueMetaData |
createInject(Object bean,
String property)
Create an injection |
ValueMetaData |
createInject(Object bean,
String property,
ControllerState whenRequired,
ControllerState dependentState)
Create an injection |
abstract ValueMetaData |
createInject(Object bean,
String property,
ControllerState whenRequired,
ControllerState dependentState,
SearchInfo search)
Create an injection |
List<ValueMetaData> |
createList()
Create a new list |
abstract List<ValueMetaData> |
createList(String listType,
String elementType)
Create a new list |
Map<ValueMetaData,ValueMetaData> |
createMap()
Create a new map |
abstract Map<ValueMetaData,ValueMetaData> |
createMap(String mapType,
String keyType,
String valueType)
Create a new map |
abstract ValueMetaData |
createNull()
Create a null value |
abstract RelatedClassMetaData |
createRelated(String className,
Object... enabled)
Create related class name. |
Set<ValueMetaData> |
createSet()
Create a new set |
abstract Set<ValueMetaData> |
createSet(String setType,
String elementType)
Create a new set |
abstract ValueMetaData |
createString(String type,
String value)
Create a string value |
abstract ValueMetaData |
createThis()
Create a this value |
abstract ValueMetaData |
createValue(Object value)
Create a value |
abstract BeanMetaData |
getBeanMetaData()
Get the constructed bean metadata |
abstract BeanMetaDataFactory |
getBeanMetaDataFactory()
Get bean factory from underlying bean meta data. |
abstract BeanMetaDataBuilder |
ignoreCreate()
Should we ignore default create invocation. |
abstract BeanMetaDataBuilder |
ignoreDestroy()
Should we ignore default destroy invocation. |
abstract BeanMetaDataBuilder |
ignoreStart()
Should we ignore default start invocation. |
abstract BeanMetaDataBuilder |
ignoreStop()
Should we ignore default stop invocation. |
abstract BeanMetaDataBuilder |
setAccessMode(org.jboss.beans.info.spi.BeanAccessMode mode)
Set the access mode |
abstract BeanMetaDataBuilder |
setAliases(Set<Object> aliases)
Set the aliases |
abstract BeanMetaDataBuilder |
setAnnotations(Set<String> annotations)
Set the annotations |
abstract BeanMetaDataBuilder |
setAutowireCandidate(boolean candidate)
Is bean autowire candidate. |
abstract BeanMetaDataBuilder |
setAutowireType(AutowireType type)
Set the autowire type |
abstract BeanMetaDataBuilder |
setBean(String bean)
Set the bean. |
abstract BeanMetaDataBuilder |
setClassLoader(ClassLoaderMetaData classLoader)
Set the classloader |
BeanMetaDataBuilder |
setClassLoader(Object classLoader)
Set the classloader |
abstract BeanMetaDataBuilder |
setClassLoader(ValueMetaData classLoader)
Set the classloader |
BeanMetaDataBuilder |
setConstructorValue(Object value)
Set the constructor value |
BeanMetaDataBuilder |
setConstructorValue(String type,
String value)
Set the constructor value |
abstract BeanMetaDataBuilder |
setConstructorValue(ValueMetaData value)
Set the constructor value |
abstract BeanMetaDataBuilder |
setCreate(String methodName)
Set the create method |
abstract BeanMetaDataBuilder |
setDestroy(String methodName)
Set the destroy method |
abstract BeanMetaDataBuilder |
setErrorHandlingMode(ErrorHandlingMode mode)
Set the error handling mode |
BeanMetaDataBuilder |
setFactory(Object factory)
Set the factory |
BeanMetaDataBuilder |
setFactory(String bean)
Set the factory |
BeanMetaDataBuilder |
setFactory(String bean,
String property)
Set the factory |
abstract BeanMetaDataBuilder |
setFactory(ValueMetaData factory)
Set the factory |
abstract BeanMetaDataBuilder |
setFactoryClass(String factoryClass)
Set the factory class |
abstract BeanMetaDataBuilder |
setFactoryMethod(String factoryMethod)
Set the factory method |
abstract BeanMetaDataBuilder |
setMode(ControllerMode mode)
Set the mode |
BeanMetaDataBuilder |
setMode(String modeString)
Set the mode |
abstract BeanMetaDataBuilder |
setName(String name)
Set the bean name. |
BeanMetaDataBuilder |
setNoClassLoader()
Set that we don't want to use the deployment classloader |
abstract BeanMetaDataBuilder |
setRelated(Set<RelatedClassMetaData> related)
Set the related |
abstract BeanMetaDataBuilder |
setStart(String methodName)
Set the start method |
abstract BeanMetaDataBuilder |
setStop(String methodName)
Set the stop method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanMetaDataBuilder()
Method Detail |
---|
public static BeanMetaDataBuilder createBuilder(String beanClassName)
beanClassName
- bean class name
public static BeanMetaDataBuilder createBuilder(String beanInstanceName, String beanClassName)
beanInstanceName
- bean namebeanClassName
- bean class name
public static BeanMetaDataBuilder createBuilder(BeanMetaData beanMetaData)
beanMetaData
- the bean metadata
public abstract BeanMetaData getBeanMetaData()
public abstract BeanMetaDataFactory getBeanMetaDataFactory()
public BeanMetaDataFactory asBeanMetaDataFactory()
public abstract BeanMetaDataBuilder setName(String name)
name
- the name
public abstract BeanMetaDataBuilder setBean(String bean)
bean
- the bean class name
public abstract BeanMetaDataBuilder setAliases(Set<Object> aliases)
aliases
- the aliases
public abstract BeanMetaDataBuilder addRelatedClass(String className, Object... enabled)
className
- the related class nameenabled
- the enabled
public abstract BeanMetaDataBuilder addRelatedClass(RelatedClassMetaData related)
related
- the related class
public abstract BeanMetaDataBuilder setRelated(Set<RelatedClassMetaData> related)
related
- the related
public abstract BeanMetaDataBuilder addAlias(Object alias)
alias
- the alias
public abstract BeanMetaDataBuilder setAnnotations(Set<String> annotations)
annotations
- the annotations
public abstract BeanMetaDataBuilder addAnnotation(String annotation)
annotation
- the annotation
public abstract BeanMetaDataBuilder addAnnotation(Annotation annotation)
annotation
- the annotation
public abstract BeanMetaDataBuilder addAnnotation(String annotation, boolean replace)
annotation
- the annotationreplace
- the replace flag
public BeanMetaDataBuilder setMode(String modeString)
modeString
- the mode
public abstract BeanMetaDataBuilder setMode(ControllerMode mode)
mode
- the mode
public abstract BeanMetaDataBuilder setAccessMode(org.jboss.beans.info.spi.BeanAccessMode mode)
mode
- the access mode
public abstract BeanMetaDataBuilder setErrorHandlingMode(ErrorHandlingMode mode)
mode
- the error handling mode
public abstract BeanMetaDataBuilder setAutowireType(AutowireType type)
type
- the autowire type
public abstract BeanMetaDataBuilder setAutowireCandidate(boolean candidate)
candidate
- the candidate flag
public BeanMetaDataBuilder setNoClassLoader()
public BeanMetaDataBuilder setClassLoader(Object classLoader)
classLoader
- the classloader
public abstract BeanMetaDataBuilder setClassLoader(ValueMetaData classLoader)
classLoader
- the classloader
public abstract BeanMetaDataBuilder setClassLoader(ClassLoaderMetaData classLoader)
classLoader
- the classloader
public BeanMetaDataBuilder setFactory(Object factory)
factory
- the factory
public BeanMetaDataBuilder setFactory(String bean)
bean
- the bean name
public BeanMetaDataBuilder setFactory(String bean, String property)
bean
- the bean nameproperty
- the property name for the factory
public abstract BeanMetaDataBuilder setFactory(ValueMetaData factory)
factory
- the factory
public abstract BeanMetaDataBuilder setFactoryClass(String factoryClass)
factoryClass
- the factory class
public abstract BeanMetaDataBuilder setFactoryMethod(String factoryMethod)
factoryMethod
- the factory method
public BeanMetaDataBuilder setConstructorValue(Object value)
value
- the object "constructed"
public BeanMetaDataBuilder setConstructorValue(String type, String value)
type
- the typevalue
- the object "constructed"
public abstract BeanMetaDataBuilder setConstructorValue(ValueMetaData value)
value
- the object "constructed"
public abstract BeanMetaDataBuilder addConstructorParameter(String type, Object value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addConstructorParameter(String type, String value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addConstructorParameter(String type, ValueMetaData value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addPropertyMetaData(String name, Object value)
name
- the property namevalue
- the value
public abstract BeanMetaDataBuilder addPropertyMetaData(String name, String value)
name
- the property namevalue
- the value
public abstract BeanMetaDataBuilder addPropertyMetaData(String name, ValueMetaData value)
name
- the property namevalue
- the value
public abstract BeanMetaDataBuilder addPropertyMetaData(String name, Collection<ValueMetaData> value)
name
- the property namevalue
- the value
public abstract BeanMetaDataBuilder addPropertyAnnotation(String name, String annotation)
name
- the property nameannotation
- the annotation
public abstract BeanMetaDataBuilder addPropertyAnnotation(String name, String annotation, boolean replace)
name
- the property nameannotation
- the annotationreplace
- the replace flag
public abstract BeanMetaDataBuilder addPropertyAnnotation(String name, Annotation annotation)
name
- the property nameannotation
- the annotation
public abstract BeanMetaDataBuilder addPropertyMetaData(String name, Map<ValueMetaData,ValueMetaData> value)
name
- the property namevalue
- the value
public abstract BeanMetaDataBuilder ignoreCreate()
public abstract BeanMetaDataBuilder setCreate(String methodName)
methodName
- the method name
public abstract BeanMetaDataBuilder addCreateParameter(String type, Object value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addCreateParameter(String type, String value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addCreateParameter(String type, ValueMetaData value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder ignoreStart()
public abstract BeanMetaDataBuilder setStart(String methodName)
methodName
- the method name
public abstract BeanMetaDataBuilder addStartParameter(String type, Object value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addStartParameter(String type, String value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addStartParameter(String type, ValueMetaData value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder ignoreStop()
public abstract BeanMetaDataBuilder setStop(String methodName)
methodName
- the method name
public abstract BeanMetaDataBuilder addStopParameter(String type, Object value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addStopParameter(String type, String value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addStopParameter(String type, ValueMetaData value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder ignoreDestroy()
public abstract BeanMetaDataBuilder setDestroy(String methodName)
methodName
- the method name
public abstract BeanMetaDataBuilder addDestroyParameter(String type, Object value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addDestroyParameter(String type, String value)
type
- the parameter typevalue
- the value
public abstract BeanMetaDataBuilder addDestroyParameter(String type, ValueMetaData value)
type
- the parameter typevalue
- the value
public BeanMetaDataBuilder addSupply(Object supply)
supply
- the supply
public abstract BeanMetaDataBuilder addSupply(Object supply, String type)
supply
- the supplytype
- the supply type
public BeanMetaDataBuilder addDemand(Object demand)
demand
- the demand
public BeanMetaDataBuilder addDemand(Object demand, String whenRequired, String transformer)
demand
- the demandwhenRequired
- when the demand is requiredtransformer
- the transformer
public BeanMetaDataBuilder addDemand(Object demand, ControllerState whenRequired, String transformer)
demand
- the demandwhenRequired
- when the demand is requiredtransformer
- the transformer
public abstract BeanMetaDataBuilder addDemand(Object demand, ControllerState whenRequired, ControllerState targetState, String transformer)
demand
- the demandwhenRequired
- when the demand is requiredtargetState
- the target statetransformer
- the transformer
public abstract BeanMetaDataBuilder addDependency(Object dependency)
dependency
- the dependency
public BeanMetaDataBuilder addInstall(String methodName)
methodName
- the method name
public BeanMetaDataBuilder addInstall(String methodName, String type, Object value)
methodName
- the method nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addInstall(String methodName, String type, String value)
methodName
- the method nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addInstall(String methodName, String type, ValueMetaData value)
methodName
- the method nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addInstall(String methodName, String[] types, Object[] values)
methodName
- the method nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addInstall(String methodName, String[] types, String[] values)
methodName
- the method nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addInstall(String methodName, String[] types, ValueMetaData[] values)
methodName
- the method nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addInstallWithThis(String methodName, String bean)
methodName
- the method namebean
- the bean name
public BeanMetaDataBuilder addInstallWithThis(String methodName, String bean, ControllerState state)
methodName
- the method namebean
- the bean namestate
- the state of the bean
public BeanMetaDataBuilder addInstallWithThis(String methodName, String bean, ControllerState state, ControllerState whenRequired)
methodName
- the method namebean
- the bean namestate
- the state of the beanwhenRequired
- the state when to install
public BeanMetaDataBuilder addInstall(String methodName, String bean)
methodName
- the method namebean
- the bean name
public BeanMetaDataBuilder addInstall(String methodName, String bean, String type, Object value)
methodName
- the method namebean
- the bean nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addInstall(String methodName, String bean, String type, String value)
methodName
- the method namebean
- the bean nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addInstall(String methodName, String bean, String type, ValueMetaData value)
methodName
- the method namebean
- the bean nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addInstall(String methodName, String bean, String[] types, Object[] values)
methodName
- the method namebean
- the bean nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addInstall(String methodName, String bean, String[] types, String[] values)
methodName
- the method namebean
- the bean nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addInstall(String methodName, String bean, String[] types, ValueMetaData[] values)
methodName
- the method namebean
- the bean nametypes
- the parameter typesvalues
- the values
public ParameterMetaDataBuilder addInstallWithParameters(String methodName)
methodName
- the method name
public ParameterMetaDataBuilder addInstallWithParameters(String methodName, String bean)
methodName
- the method namebean
- the bean name
public ParameterMetaDataBuilder addInstallWithParameters(String methodName, String bean, ControllerState state)
methodName
- the method namebean
- the bean namestate
- the state of the bean
public abstract ParameterMetaDataBuilder addInstallWithParameters(String methodName, String bean, ControllerState state, ControllerState whenRequired)
methodName
- the method namebean
- the bean namestate
- the state of the beanwhenRequired
- the state when to install
public BeanMetaDataBuilder addUninstall(String methodName)
methodName
- the method name
public BeanMetaDataBuilder addUninstall(String methodName, String type, Object value)
methodName
- the method nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addUninstall(String methodName, String type, String value)
methodName
- the method nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addUninstall(String methodName, String type, ValueMetaData value)
methodName
- the method nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addUninstall(String methodName, String[] types, Object[] values)
methodName
- the method nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addUninstall(String methodName, String[] types, String[] values)
methodName
- the method nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addUninstall(String methodName, String[] types, ValueMetaData[] values)
methodName
- the method nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addUninstallWithThis(String methodName, String bean)
methodName
- the method namebean
- the bean name
public BeanMetaDataBuilder addUninstallWithThis(String methodName, String bean, ControllerState state)
methodName
- the method namebean
- the bean namestate
- the state when to uninstall
public BeanMetaDataBuilder addUninstallWithThis(String methodName, String bean, ControllerState state, ControllerState whenRequired)
methodName
- the method namebean
- the bean namestate
- the state of the beanwhenRequired
- the state when to uninstall
public BeanMetaDataBuilder addUninstall(String methodName, String bean)
methodName
- the method namebean
- the bean name
public BeanMetaDataBuilder addUninstall(String methodName, String bean, String type, Object value)
methodName
- the method namebean
- the bean nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addUninstall(String methodName, String bean, String type, String value)
methodName
- the method namebean
- the bean nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addUninstall(String methodName, String bean, String type, ValueMetaData value)
methodName
- the method namebean
- the bean nametype
- the parameter typevalue
- the value
public BeanMetaDataBuilder addUninstall(String methodName, String bean, String[] types, Object[] values)
methodName
- the method namebean
- the bean nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addUninstall(String methodName, String bean, String[] types, String[] values)
methodName
- the method namebean
- the bean nametypes
- the parameter typesvalues
- the values
public BeanMetaDataBuilder addUninstall(String methodName, String bean, String[] types, ValueMetaData[] values)
methodName
- the method namebean
- the bean nametypes
- the parameter typesvalues
- the values
public ParameterMetaDataBuilder addUninstallWithParameters(String methodName)
methodName
- the method name
public ParameterMetaDataBuilder addUninstallWithParameters(String methodName, String bean)
methodName
- the method namebean
- the bean name
public ParameterMetaDataBuilder addUninstallWithParameters(String methodName, String bean, ControllerState state)
methodName
- the method namebean
- the bean namestate
- the state of the bean
public abstract ParameterMetaDataBuilder addUninstallWithParameters(String methodName, String bean, ControllerState state, ControllerState whenRequired)
methodName
- the method namebean
- the bean namestate
- the state of the beanwhenRequired
- the state when to uninstall
public BeanMetaDataBuilder addPropertyInstallCallback(String property)
property
- the property name
public BeanMetaDataBuilder addPropertyInstallCallback(String property, ControllerState whenRequired)
property
- the property namewhenRequired
- the when required state
public BeanMetaDataBuilder addPropertyInstallCallback(String property, Cardinality cardinality)
property
- the property namecardinality
- the cardinality
public BeanMetaDataBuilder addPropertyInstallCallback(String property, ControllerState whenRequired, Cardinality cardinality)
property
- the property namewhenRequired
- the when required statecardinality
- the cardinality
public abstract BeanMetaDataBuilder addPropertyInstallCallback(String property, String signature, ControllerState whenRequired, ControllerState dependentState, Cardinality cardinality)
property
- the property namesignature
- the property signaturewhenRequired
- the when required statedependentState
- the dependant statecardinality
- the cardinality
public BeanMetaDataBuilder addPropertyUninstallCallback(String property)
property
- the property name
public BeanMetaDataBuilder addPropertyUninstallCallback(String property, ControllerState whenRequired)
property
- the property namewhenRequired
- the when required state
public BeanMetaDataBuilder addPropertyUninstallCallback(String property, Cardinality cardinality)
property
- the property namecardinality
- the cardinality
public BeanMetaDataBuilder addPropertyUninstallCallback(String property, ControllerState whenRequired, Cardinality cardinality)
property
- the property namewhenRequired
- the when required statecardinality
- the cardinality
public abstract BeanMetaDataBuilder addPropertyUninstallCallback(String property, String signature, ControllerState whenRequired, ControllerState dependentState, Cardinality cardinality)
property
- the property namesignature
- the property signaturewhenRequired
- the when required statedependentState
- the dependant statecardinality
- the cardinality
public BeanMetaDataBuilder addMethodInstallCallback(String method)
method
- the method name
public BeanMetaDataBuilder addMethodInstallCallback(String method, ControllerState whenRequired)
method
- the method namewhenRequired
- the when required state
public BeanMetaDataBuilder addMethodInstallCallback(String method, Cardinality cardinality)
method
- the method namecardinality
- the cardinality
public BeanMetaDataBuilder addMethodInstallCallback(String method, ControllerState whenRequired, Cardinality cardinality)
method
- the method namewhenRequired
- the when required statecardinality
- the cardinality
public abstract BeanMetaDataBuilder addMethodInstallCallback(String method, String signature, ControllerState whenRequired, ControllerState dependentState, Cardinality cardinality)
method
- the method namesignature
- the method signaturewhenRequired
- the when required statedependentState
- the dependant statecardinality
- the cardinality
public BeanMetaDataBuilder addMethodUninstallCallback(String method)
method
- the method name
public BeanMetaDataBuilder addMethodUninstallCallback(String method, ControllerState whenRequired)
method
- the method namewhenRequired
- the when required state
public BeanMetaDataBuilder addMethodUninstallCallback(String method, Cardinality cardinality)
method
- the method namecardinality
- the cardinality
public BeanMetaDataBuilder addMethodUninstallCallback(String method, ControllerState whenRequired, Cardinality cardinality)
method
- the method namewhenRequired
- the when required statecardinality
- the cardinality
public abstract BeanMetaDataBuilder addMethodUninstallCallback(String method, String signature, ControllerState whenRequired, ControllerState dependentState, Cardinality cardinality)
method
- the method namesignature
- the method signaturewhenRequired
- the when required statedependentState
- the dependant statecardinality
- the cardinality
public abstract RelatedClassMetaData createRelated(String className, Object... enabled)
className
- the related class nameenabled
- the enabled
public abstract ValueMetaData createNull()
public abstract ValueMetaData createThis()
public abstract ValueMetaData createValue(Object value)
value
- the already constructed value
public abstract ValueMetaData createString(String type, String value)
type
- the type to be converted intovalue
- the value
public ValueMetaData createInject(Object bean)
bean
- the bean to inject
public ValueMetaData createInject(Object bean, String property)
bean
- the bean to injectproperty
- the property of the bean
public ValueMetaData createInject(Object bean, String property, ControllerState whenRequired, ControllerState dependentState)
bean
- the bean to injectproperty
- the property of the beanwhenRequired
- when the injection is requireddependentState
- the state of the injected bean
public abstract ValueMetaData createInject(Object bean, String property, ControllerState whenRequired, ControllerState dependentState, SearchInfo search)
bean
- the bean to injectproperty
- the property of the beanwhenRequired
- when the injection is requireddependentState
- the state of the injected beansearch
- the search info
public ValueMetaData createContextualInject()
public ValueMetaData createContextualInject(ControllerState whenRequired, ControllerState dependentState)
whenRequired
- when the injection is requireddependentState
- the state of the injected bean
public ValueMetaData createContextualInject(ControllerState whenRequired, ControllerState dependentState, AutowireType autowire, InjectOption option)
whenRequired
- when the injection is requireddependentState
- the state of the injected beanautowire
- the autowire typeoption
- the inject option
public abstract ValueMetaData createContextualInject(ControllerState whenRequired, ControllerState dependentState, AutowireType autowire, InjectOption option, SearchInfo search)
whenRequired
- when the injection is requireddependentState
- the state of the injected beanautowire
- the autowire typeoption
- the inject optionsearch
- the search info
public ValueMetaData createFromContextInject(FromContext fromContext)
fromContext
- from context enum
public ValueMetaData createFromContextInject(FromContext fromContext, Object contextName)
fromContext
- from context enumcontextName
- the context name
public ValueMetaData createFromContextInject(FromContext fromContext, Object contextName, ControllerState dependentState)
fromContext
- from context enumcontextName
- the context namedependentState
- the state of the injected context
public abstract ValueMetaData createFromContextInject(FromContext fromContext, Object contextName, ControllerState dependentState, SearchInfo search)
fromContext
- from context enumcontextName
- the context namedependentState
- the state of the injected contextsearch
- the search info
public Collection<ValueMetaData> createCollection()
public abstract Collection<ValueMetaData> createCollection(String collectionType, String elementType)
collectionType
- the collection typeelementType
- the element type
public List<ValueMetaData> createList()
public abstract List<ValueMetaData> createList(String listType, String elementType)
listType
- the list typeelementType
- the element type
public Set<ValueMetaData> createSet()
public abstract Set<ValueMetaData> createSet(String setType, String elementType)
setType
- the set typeelementType
- the element type
public List<ValueMetaData> createArray()
public abstract List<ValueMetaData> createArray(String arrayType, String elementType)
arrayType
- the array typeelementType
- the element type
public Map<ValueMetaData,ValueMetaData> createMap()
public abstract Map<ValueMetaData,ValueMetaData> createMap(String mapType, String keyType, String valueType)
mapType
- the map typekeyType
- the key typevalueType
- the value type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |