com.inline.feature.example
Class JavaMethodFeatureSet

java.lang.Object
  |
  +--com.inline.feature.common.AbstractResourceListener
        |
        +--com.inline.feature.common.AbstractFeatureSet
              |
              +--com.inline.feature.common.AbstractTypedFeatureSet
                    |
                    +--com.inline.feature.example.JavaMethodFeatureSet

public class JavaMethodFeatureSet
extends AbstractTypedFeatureSet


Field Summary
protected  ResourceAdapter classDescriptorAdapter
           
 
Fields inherited from class com.inline.feature.common.AbstractTypedFeatureSet
type
 
Fields inherited from class com.inline.feature.common.AbstractResourceListener
active, featureModel, parent, resourceAdapters, resourceSetAdapters, revalidate
 
Constructor Summary
JavaMethodFeatureSet(Feature parent, java.lang.String type)
           
 
Method Summary
 Feature allocateFeature(java.lang.String signature)
          Override this method to allocate an instance of a Feature of the set's type.
 com.sun.java.util.collections.Set getFeatureSignatures()
          Override this method to perform parsing of resources and build a set of signatures of all Features of the set's type found on the set's parent Feature.
protected  void registerDependencies()
          Override to register all resource adapters this feature set depends upon.
 
Methods inherited from class com.inline.feature.common.AbstractTypedFeatureSet
activate, allocateFeature, canChangeSet, featureAdded, featureRemoved, featureReplaced, getFeature, getFeatureConstructors, getFeatures, getFeatures, getPrimitiveFeatureConstructors, getSortedFeatures, getType, insert, isDefaultPrimitiveFeatureConstructorAllowed, isEmpty, refresh, release, removeAll, resourceAdded, resourceChanged, resourceRemoved, toString
 
Methods inherited from class com.inline.feature.common.AbstractFeatureSet
addFeatureSetListener, fireFeatureAdded, fireFeatureRemoved, fireFeatureReplaced, getDefaultFeatureConstructor, getFeatureConstructor, getFeatureConstructors, removeFeatureSetListener, shouldCheckHasChildren
 
Methods inherited from class com.inline.feature.common.AbstractResourceListener
getFeatureModel, getParent, invalidate, passivate, propertyChange, registerResourceAdapter, registerResourceAdapter, registerResourceSetAdapter, registerResourceSetAdapter, unregisterResourceAdapter, unregisterResourceSetAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

classDescriptorAdapter

protected ResourceAdapter classDescriptorAdapter
Constructor Detail

JavaMethodFeatureSet

public JavaMethodFeatureSet(Feature parent,
                            java.lang.String type)
Method Detail

registerDependencies

protected void registerDependencies()
Description copied from class: AbstractResourceListener
Override to register all resource adapters this feature set depends upon. Call registerResourceAdapter(reference) for each resource adapter and registerResourceSetAdapter(type, qualifier) for each resource set adapter. AbstractResourceListener will make the feature an observer of events from those adapters as needed.
Overrides:
registerDependencies in class AbstractResourceListener

getFeatureSignatures

public com.sun.java.util.collections.Set getFeatureSignatures()
Description copied from class: AbstractTypedFeatureSet
Override this method to perform parsing of resources and build a set of signatures of all Features of the set's type found on the set's parent Feature.
Overrides:
getFeatureSignatures in class AbstractTypedFeatureSet

allocateFeature

public Feature allocateFeature(java.lang.String signature)
Description copied from class: AbstractTypedFeatureSet
Override this method to allocate an instance of a Feature of the set's type.
Overrides:
allocateFeature in class AbstractTypedFeatureSet