org.apache.aries.blueprint.annotation
Annotation Type Bean


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Bean


Required Element Summary
 java.lang.String id
          id, activation, dependsOn comes from Tcomponent the id property for the bean should this be auto generated if none is specified?
 
Optional Element Summary
 java.lang.String activation
          the activation property for the bean This can either be "eager" or "lazy".
 Arg[] args
          arguments for the bean constructor or the factory method of the bean
 java.lang.String[] dependsOn
          the components that the bean depends on
 java.lang.String description
          the description property for the bean
 java.lang.String factoryMethod
          the factory method in the factoryRef referred factory component
 java.lang.String factoryRef
          the reference to the factory component on which to invoke the factory method for the bean.
 java.lang.String scope
          the scope property for the bean.
 

Element Detail

id

public abstract java.lang.String id
id, activation, dependsOn comes from Tcomponent the id property for the bean should this be auto generated if none is specified?

activation

public abstract java.lang.String activation
the activation property for the bean This can either be "eager" or "lazy". If not specified, it defaults to default-activation attribute of the enclosing element.

Default:
""

dependsOn

public abstract java.lang.String[] dependsOn
the components that the bean depends on

Default:
""

description

public abstract java.lang.String description
the description property for the bean

Default:
""

scope

public abstract java.lang.String scope
the scope property for the bean. value can be prototype or singleton

Default:
""

factoryRef

public abstract java.lang.String factoryRef
the reference to the factory component on which to invoke the factory method for the bean.

Default:
""

factoryMethod

public abstract java.lang.String factoryMethod
the factory method in the factoryRef referred factory component

Returns:
Default:
""

args

public abstract Arg[] args
arguments for the bean constructor or the factory method of the bean

Returns:
Default:
{}


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.