org.apache.geronimo.gbean
Class GBeanData

java.lang.Object
  extended by org.apache.geronimo.gbean.GBeanData
All Implemented Interfaces:
Externalizable, Serializable

public class GBeanData
extends Object
implements Externalizable

See Also:
Serialized Form

Nested Class Summary
static class GBeanData.PriorityComparator
          Note: this comparator imposes orderings that are inconsistent with equals.
 
Constructor Summary
GBeanData()
           
GBeanData(AbstractName abstractName, GBeanInfo gbeanInfo)
           
GBeanData(GBeanData gbeanData)
           
GBeanData(GBeanInfo gbeanInfo)
           
 
Method Summary
 void addDependencies(Set dependencies)
           
 void addDependency(AbstractName dependency)
           
 void addDependency(AbstractNameQuery refInfo)
           
 void addDependency(ReferencePatterns dependency)
           
 void clearAttribute(String name)
           
 void clearReference(String name)
           
 AbstractName getAbstractName()
           
 Object getAttribute(String name)
           
 Set getAttributeNames()
           
 Map getAttributes()
           
 Set getDependencies()
           
 GBeanInfo getGBeanInfo()
           
 int getPriority()
           
 ReferencePatterns getReferencePatterns(String name)
           
 Map getReferences()
           
 Set getReferencesNames()
           
 void readExternal(ObjectInput in)
           
 void setAbstractName(AbstractName abstractName)
           
 void setAttribute(String name, Object value)
           
 void setDependencies(Set dependencies)
           
 void setGBeanInfo(GBeanInfo gbeanInfo)
           
 void setPriority(int priority)
           
 void setReferencePattern(String name, AbstractName abstractName)
           
 void setReferencePattern(String name, AbstractNameQuery pattern)
           
 void setReferencePatterns(String name, ReferencePatterns patterns)
           
 void setReferencePatterns(String name, Set patterns)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GBeanData

public GBeanData()

GBeanData

public GBeanData(GBeanInfo gbeanInfo)

GBeanData

public GBeanData(AbstractName abstractName,
                 GBeanInfo gbeanInfo)

GBeanData

public GBeanData(GBeanData gbeanData)
Method Detail

getAbstractName

public AbstractName getAbstractName()

setAbstractName

public void setAbstractName(AbstractName abstractName)

getGBeanInfo

public GBeanInfo getGBeanInfo()

clearAttribute

public void clearAttribute(String name)

clearReference

public void clearReference(String name)

setGBeanInfo

public void setGBeanInfo(GBeanInfo gbeanInfo)

getAttributes

public Map getAttributes()

getAttributeNames

public Set getAttributeNames()

getAttribute

public Object getAttribute(String name)

setAttribute

public void setAttribute(String name,
                         Object value)

getReferences

public Map getReferences()

getReferencesNames

public Set getReferencesNames()

getReferencePatterns

public ReferencePatterns getReferencePatterns(String name)

setReferencePattern

public void setReferencePattern(String name,
                                AbstractNameQuery pattern)

setReferencePattern

public void setReferencePattern(String name,
                                AbstractName abstractName)

setReferencePatterns

public void setReferencePatterns(String name,
                                 Set patterns)

setReferencePatterns

public void setReferencePatterns(String name,
                                 ReferencePatterns patterns)

getDependencies

public Set getDependencies()

setDependencies

public void setDependencies(Set dependencies)

addDependencies

public void addDependencies(Set dependencies)

addDependency

public void addDependency(ReferencePatterns dependency)

addDependency

public void addDependency(AbstractNameQuery refInfo)

addDependency

public void addDependency(AbstractName dependency)

getPriority

public int getPriority()

setPriority

public void setPriority(int priority)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.