org.apache.aries.blueprint.ext
Interface ComponentFactoryMetadata

All Superinterfaces:
ComponentMetadata, Metadata, NonNullMetadata, Target
All Known Subinterfaces:
DependentComponentFactoryMetadata

public interface ComponentFactoryMetadata
extends ComponentMetadata, Target

Custom metadata that can acts like a built-in bean manager for the component life-cycle events create and destroy.


Field Summary
 
Fields inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
ACTIVATION_EAGER, ACTIVATION_LAZY
 
Method Summary
 java.lang.Object create()
          Create an instance
 void destroy(java.lang.Object instance)
          Destroy an instance previously created
 void init(ExtendedBlueprintContainer container)
          Prime the underlying bean manager with the blueprint container
 
Methods inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
getActivation, getDependsOn, getId
 

Method Detail

init

void init(ExtendedBlueprintContainer container)
Prime the underlying bean manager with the blueprint container

Parameters:
container -

create

java.lang.Object create()
                        throws ComponentDefinitionException
Create an instance

Returns:
Throws:
ComponentDefinitionException

destroy

void destroy(java.lang.Object instance)
Destroy an instance previously created

Parameters:
instance -


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