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


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


Required Element Summary
 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
 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
 String[] dependsOn
          the components that the bean depends on
 String description
          the description property for the bean
 String factoryMethod
          the factory method in the factoryRef referred factory component
 String factoryRef
          the reference to the factory component on which to invoke the factory method for the bean.
 String scope
          the scope property for the bean.
 

Element Detail

id

public abstract 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 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 String[] dependsOn
the components that the bean depends on

Default:
""

description

public abstract String description
the description property for the bean

Default:
""

scope

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

Default:
""

factoryRef

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

Default:
""

factoryMethod

public abstract 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.