|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.gbean.GBeanInfo
public final class GBeanInfo
Describes a GBean. This class should never be constructed directly. Insted use GBeanInfoBuilder.
| Field Summary | |
|---|---|
static int |
PRIORITY_CLASSLOADER
|
static int |
PRIORITY_NORMAL
|
| Constructor Summary | |
|---|---|
GBeanInfo(String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces)
Deprecated. use GBeanInfoBuilder |
|
GBeanInfo(String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces,
Set notifications)
Deprecated. use GBeanInfoBuilder |
|
GBeanInfo(String name,
String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces)
Deprecated. use GBeanInfoBuilder |
|
GBeanInfo(String name,
String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces,
Set notifications)
Deprecated. use GBeanInfoBuilder |
|
GBeanInfo(String sourceClass,
String name,
String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces,
int priority,
boolean osgiService,
String[] serviceInterfaces)
|
|
| Method Summary | |
|---|---|
GAttributeInfo |
getAttribute(String name)
Gets the info for the specified attribute, or null if there is no such attribute. |
Set<GAttributeInfo> |
getAttributes()
Returns a Set where the elements are type GAttributeInfo |
String |
getClassName()
|
GConstructorInfo |
getConstructor()
|
static GBeanInfo |
getGBeanInfo(String className,
org.osgi.framework.Bundle bundle)
Static helper to try to get the GBeanInfo from the class supplied. |
Set<String> |
getInterfaces()
|
String |
getJ2eeType()
|
List |
getManageableAttributes()
Returns a list where the elements are type GAttributeInfo |
String |
getName()
|
Set |
getNotifications()
|
Set<GOperationInfo> |
getOperations()
|
List |
getPersistentAttributes()
Returns a list where the elements are type GAttributeInfo |
int |
getPriority()
|
GReferenceInfo |
getReference(String name)
|
Set<GReferenceInfo> |
getReferences()
|
String[] |
getServiceInterfaces()
|
String |
getSourceClass()
Gets the source class from which this GBeanInfo can be retrieved using GBeanInfo.getGBeanInfo(className, classLoader). |
boolean |
isOsgiService()
|
String |
toString()
|
String |
toXML(AbstractName abstractName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int PRIORITY_CLASSLOADER
public static final int PRIORITY_NORMAL
| Constructor Detail |
|---|
public GBeanInfo(String name,
String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces)
public GBeanInfo(String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces)
public GBeanInfo(String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces,
Set notifications)
public GBeanInfo(String name,
String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces,
Set notifications)
public GBeanInfo(String sourceClass,
String name,
String className,
String j2eeType,
Collection attributes,
GConstructorInfo constructor,
Collection operations,
Set references,
Set interfaces,
int priority,
boolean osgiService,
String[] serviceInterfaces)
| Method Detail |
|---|
public static GBeanInfo getGBeanInfo(String className,
org.osgi.framework.Bundle bundle)
throws InvalidConfigurationException
className - name of the class to get the GBeanInfo frombundle - the bundle used to load the specifiec class
InvalidConfigurationException - if there is a problem getting the GBeanInfo from the classpublic String getSourceClass()
public String getName()
public String getClassName()
public String getJ2eeType()
public GAttributeInfo getAttribute(String name)
public Set<GAttributeInfo> getAttributes()
public List getPersistentAttributes()
public List getManageableAttributes()
public GConstructorInfo getConstructor()
public Set<GOperationInfo> getOperations()
public Set getNotifications()
public Set<GReferenceInfo> getReferences()
public GReferenceInfo getReference(String name)
public Set<String> getInterfaces()
public int getPriority()
public boolean isOsgiService()
public String[] getServiceInterfaces()
public String toString()
toString in class Objectpublic String toXML(AbstractName abstractName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||