org.apache.geronimo.blueprint
Interface ExtendedBeanMetadata
- All Superinterfaces:
- BeanMetadata, ComponentMetadata, Metadata, NonNullMetadata, Target
- All Known Subinterfaces:
- MutableBeanMetadata
- All Known Implementing Classes:
- BeanMetadataImpl
public interface ExtendedBeanMetadata
- extends BeanMetadata
An extended BeanMetadata that allows specifying if
the bean instances are processors or not.
Such processors have to be instantiated before instantiating all
other singletons, but to avoid breaking the lazy activation of
bundles, the Blueprint container needs to be aware of those and not
try to load the class to perform some introspection.
isProcessor
boolean isProcessor()
getRuntimeClass
Class<?> getRuntimeClass()
- Provide an actual class, this overrides the class name if set. This is
useful for Namespace Handler services that do not want to force the
Blueprint bundle to import implementation classes.
- Returns:
- Return the class to use in runtime or
null.
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.