com.citytechinc.aem.bedrock.api.components.annotations
Annotation Type AutoInstantiate


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
@Documented
public @interface AutoInstantiate

Marker for components that can be automatically instantiated by the <bedrock:defineObjects/> in a component JSP. If the component's .content.xml has a className attribute value set to a valid component Java class name, the class will be instantiated and set in page context without the need to use the <bedrock:component/> tag.


Optional Element Summary
 String instanceName
          Specify an instance name to use when the component class is set in page context.
 

instanceName

public abstract String instanceName
Specify an instance name to use when the component class is set in page context.

Returns:
instance name to use instead of the default (uncapitalized simple class name).
Default:
""


Copyright © 2015 CITYTECH, Inc.. All rights reserved.