org.apache.geronimo.gbean.runtime
Class GBeanCollectionReference

java.lang.Object
  extended by org.apache.geronimo.gbean.runtime.AbstractGBeanReference
      extended by org.apache.geronimo.gbean.runtime.GBeanCollectionReference
All Implemented Interfaces:
GBeanReference

public class GBeanCollectionReference
extends AbstractGBeanReference


Field Summary
 
Fields inherited from class org.apache.geronimo.gbean.runtime.AbstractGBeanReference
NO_PROXY
 
Constructor Summary
GBeanCollectionReference(GBeanInstance gbeanInstance, GReferenceInfo referenceInfo, Kernel kernel, ReferencePatterns referencePatterns)
           
 
Method Summary
protected  void addTarget(AbstractName abstractName)
           
protected  LifecycleListener createLifecycleListener()
           
 Set getPatterns()
           
protected  Set getTargets()
           
 void offline()
           
 void online()
           
protected  void removeTarget(AbstractName abstractName)
           
 void setReferencePatterns(ReferencePatterns referencePatterns)
           
 boolean start()
           
 void stop()
           
protected  void targetAdded(AbstractName target)
           
protected  void targetRemoved(AbstractName target)
           
 
Methods inherited from class org.apache.geronimo.gbean.runtime.AbstractGBeanReference
getDescription, getGBeanInstance, getKernel, getName, getProxy, getProxyType, getReferenceInfo, getReferenceType, inject, isRunning, setProxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GBeanCollectionReference

public GBeanCollectionReference(GBeanInstance gbeanInstance,
                                GReferenceInfo referenceInfo,
                                Kernel kernel,
                                ReferencePatterns referencePatterns)
                         throws InvalidConfigurationException
Throws:
InvalidConfigurationException
Method Detail

start

public boolean start()

stop

public void stop()

targetAdded

protected void targetAdded(AbstractName target)

targetRemoved

protected void targetRemoved(AbstractName target)

createLifecycleListener

protected LifecycleListener createLifecycleListener()

getPatterns

public final Set getPatterns()

setReferencePatterns

public final void setReferencePatterns(ReferencePatterns referencePatterns)

online

public final void online()

offline

public final void offline()

getTargets

protected final Set getTargets()

addTarget

protected final void addTarget(AbstractName abstractName)

removeTarget

protected final void removeTarget(AbstractName abstractName)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.