org.apache.geronimo.gbean
Class GBeanInfoBuilder
java.lang.Object
org.apache.geronimo.gbean.GBeanInfoBuilder
public class GBeanInfoBuilder
- extends Object
Constructor Summary |
GBeanInfoBuilder(Class gbeanType)
|
GBeanInfoBuilder(Class gbeanType,
GBeanInfo source)
|
GBeanInfoBuilder(Class gbeanType,
GBeanInfo source,
String j2eeType)
|
GBeanInfoBuilder(Class gbeanType,
String j2eeType)
|
GBeanInfoBuilder(String name,
Class gbeanType)
|
GBeanInfoBuilder(String name,
Class gbeanType,
GBeanInfo source)
|
GBeanInfoBuilder(String name,
Class gbeanType,
GBeanInfo source,
String j2eeType)
|
GBeanInfoBuilder(String name,
ClassLoader classLoader)
Deprecated. This will be removed in a future release |
GBeanInfoBuilder(String name,
Class gbeanType,
String j2eeType)
|
Method Summary |
void |
addAttribute(GAttributeInfo info)
|
void |
addAttribute(String name,
Class type,
boolean persistent)
|
void |
addAttribute(String name,
Class type,
boolean persistent,
boolean manageable)
|
void |
addAttribute(String name,
String type,
boolean persistent)
|
void |
addAttribute(String name,
String type,
boolean persistent,
boolean manageable)
|
void |
addInterface(Class intf)
|
void |
addInterface(Class intf,
String[] persistentAttributes)
|
void |
addInterface(Class intf,
String[] persistentAttributes,
String[] manageableAttributes)
|
void |
addOperation(GOperationInfo operationInfo)
|
void |
addOperation(String name)
|
void |
addOperation(String name,
Class[] paramTypes)
|
void |
addReference(GReferenceInfo info)
|
void |
addReference(String name,
Class type)
|
void |
addReference(String name,
Class type,
String namingType)
Add a reference to another GBean or collection of GBeans |
static GBeanInfoBuilder |
createStatic(Class gbeanType)
|
static GBeanInfoBuilder |
createStatic(Class sourceClass,
Class gbeanType)
|
static GBeanInfoBuilder |
createStatic(Class sourceClass,
Class gbeanType,
GBeanInfo source,
String j2eeType)
|
static GBeanInfoBuilder |
createStatic(Class sourceClass,
Class gbeanType,
String j2eeType)
|
static GBeanInfoBuilder |
createStatic(Class gbeanType,
GBeanInfo source)
|
static GBeanInfoBuilder |
createStatic(Class gbeanType,
GBeanInfo source,
String j2eeType)
|
static GBeanInfoBuilder |
createStatic(Class gbeanType,
String j2eeType)
|
static GBeanInfoBuilder |
createStatic(Class sourceClass,
String name,
Class gbeanType,
GBeanInfo source,
String j2eeType)
|
static GBeanInfoBuilder |
createStatic(Class sourceClass,
String name,
Class gbeanType,
String j2eeType)
|
static GBeanInfoBuilder |
createStatic(String name,
Class gbeanType)
|
static GBeanInfoBuilder |
createStatic(String name,
Class gbeanType,
GBeanInfo source)
|
static GBeanInfoBuilder |
createStatic(String name,
Class gbeanType,
String j2eeType)
|
GBeanInfo |
getBeanInfo()
|
void |
setConstructor(GConstructorInfo constructor)
|
void |
setConstructor(String[] names)
|
void |
setManageableAttributes(String[] manageableAttributes)
|
void |
setPersistentAttributes(String[] persistentAttributes)
|
void |
setPriority(int priority)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_J2EE_TYPE
public static final String DEFAULT_J2EE_TYPE
- See Also:
- Constant Field Values
GBeanInfoBuilder
public GBeanInfoBuilder(Class gbeanType)
GBeanInfoBuilder
public GBeanInfoBuilder(Class gbeanType,
String j2eeType)
GBeanInfoBuilder
public GBeanInfoBuilder(String name,
Class gbeanType)
GBeanInfoBuilder
public GBeanInfoBuilder(String name,
Class gbeanType,
String j2eeType)
GBeanInfoBuilder
public GBeanInfoBuilder(Class gbeanType,
GBeanInfo source)
GBeanInfoBuilder
public GBeanInfoBuilder(Class gbeanType,
GBeanInfo source,
String j2eeType)
GBeanInfoBuilder
public GBeanInfoBuilder(String name,
ClassLoader classLoader)
- Deprecated. This will be removed in a future release
GBeanInfoBuilder
public GBeanInfoBuilder(String name,
Class gbeanType,
GBeanInfo source)
GBeanInfoBuilder
public GBeanInfoBuilder(String name,
Class gbeanType,
GBeanInfo source,
String j2eeType)
createStatic
public static GBeanInfoBuilder createStatic(Class gbeanType)
createStatic
public static GBeanInfoBuilder createStatic(Class gbeanType,
String j2eeType)
createStatic
public static GBeanInfoBuilder createStatic(String name,
Class gbeanType)
createStatic
public static GBeanInfoBuilder createStatic(String name,
Class gbeanType,
String j2eeType)
createStatic
public static GBeanInfoBuilder createStatic(Class gbeanType,
GBeanInfo source)
createStatic
public static GBeanInfoBuilder createStatic(Class gbeanType,
GBeanInfo source,
String j2eeType)
createStatic
public static GBeanInfoBuilder createStatic(String name,
Class gbeanType,
GBeanInfo source)
createStatic
public static GBeanInfoBuilder createStatic(Class sourceClass,
Class gbeanType)
createStatic
public static GBeanInfoBuilder createStatic(Class sourceClass,
Class gbeanType,
String j2eeType)
createStatic
public static GBeanInfoBuilder createStatic(Class sourceClass,
Class gbeanType,
GBeanInfo source,
String j2eeType)
createStatic
public static GBeanInfoBuilder createStatic(Class sourceClass,
String name,
Class gbeanType,
String j2eeType)
createStatic
public static GBeanInfoBuilder createStatic(Class sourceClass,
String name,
Class gbeanType,
GBeanInfo source,
String j2eeType)
setPersistentAttributes
public void setPersistentAttributes(String[] persistentAttributes)
setManageableAttributes
public void setManageableAttributes(String[] manageableAttributes)
addInterface
public void addInterface(Class intf)
addInterface
public void addInterface(Class intf,
String[] persistentAttributes)
addInterface
public void addInterface(Class intf,
String[] persistentAttributes,
String[] manageableAttributes)
addAttribute
public void addAttribute(String name,
Class type,
boolean persistent)
addAttribute
public void addAttribute(String name,
String type,
boolean persistent)
addAttribute
public void addAttribute(String name,
Class type,
boolean persistent,
boolean manageable)
addAttribute
public void addAttribute(String name,
String type,
boolean persistent,
boolean manageable)
addAttribute
public void addAttribute(GAttributeInfo info)
setConstructor
public void setConstructor(GConstructorInfo constructor)
setConstructor
public void setConstructor(String[] names)
addOperation
public void addOperation(GOperationInfo operationInfo)
addOperation
public void addOperation(String name)
addOperation
public void addOperation(String name,
Class[] paramTypes)
addReference
public void addReference(GReferenceInfo info)
addReference
public void addReference(String name,
Class type,
String namingType)
- Add a reference to another GBean or collection of GBeans
- Parameters:
name
- the name of the referencetype
- The proxy type of the GBean or objects in a ReferenceCollectionnamingType
- the string expected as the type component of the name. For jsr-77 names this is the j2eeType value
addReference
public void addReference(String name,
Class type)
setPriority
public void setPriority(int priority)
getBeanInfo
public GBeanInfo getBeanInfo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.