org.apache.aries.blueprint.reflect
Class ComponentMetadataImpl

java.lang.Object
  extended by org.apache.aries.blueprint.reflect.ComponentMetadataImpl
All Implemented Interfaces:
MutableComponentMetadata, org.osgi.service.blueprint.reflect.ComponentMetadata, org.osgi.service.blueprint.reflect.Metadata, org.osgi.service.blueprint.reflect.NonNullMetadata
Direct Known Subclasses:
BeanMetadataImpl, PassThroughMetadataImpl, ServiceMetadataImpl, ServiceReferenceMetadataImpl

public class ComponentMetadataImpl
extends Object
implements MutableComponentMetadata

Implementation of ComponentMetadata

Version:
$Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $

Field Summary
protected  int activation
           
protected  List<String> dependsOn
           
protected  String id
           
 
Fields inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
ACTIVATION_EAGER, ACTIVATION_LAZY
 
Constructor Summary
protected ComponentMetadataImpl()
           
protected ComponentMetadataImpl(org.osgi.service.blueprint.reflect.ComponentMetadata source)
           
 
Method Summary
 void addDependsOn(String explicitDependency)
           
 int getActivation()
           
 List<String> getDependsOn()
           
 String getId()
           
 void removeDependsOn(String dependency)
           
 void setActivation(int activation)
           
 void setDependsOn(List<String> dependsOn)
           
 void setId(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

activation

protected int activation

dependsOn

protected List<String> dependsOn
Constructor Detail

ComponentMetadataImpl

protected ComponentMetadataImpl()

ComponentMetadataImpl

protected ComponentMetadataImpl(org.osgi.service.blueprint.reflect.ComponentMetadata source)
Method Detail

getId

public String getId()
Specified by:
getId in interface org.osgi.service.blueprint.reflect.ComponentMetadata

setId

public void setId(String id)
Specified by:
setId in interface MutableComponentMetadata

getActivation

public int getActivation()
Specified by:
getActivation in interface org.osgi.service.blueprint.reflect.ComponentMetadata

setActivation

public void setActivation(int activation)
Specified by:
setActivation in interface MutableComponentMetadata

getDependsOn

public List<String> getDependsOn()
Specified by:
getDependsOn in interface org.osgi.service.blueprint.reflect.ComponentMetadata

setDependsOn

public void setDependsOn(List<String> dependsOn)
Specified by:
setDependsOn in interface MutableComponentMetadata

addDependsOn

public void addDependsOn(String explicitDependency)
Specified by:
addDependsOn in interface MutableComponentMetadata

removeDependsOn

public void removeDependsOn(String dependency)
Specified by:
removeDependsOn in interface MutableComponentMetadata


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