org.apache.geronimo.gbean
Class GBeanInfoBuilder

java.lang.Object
  extended by org.apache.geronimo.gbean.GBeanInfoBuilder

public class GBeanInfoBuilder
extends Object


Field Summary
static String DEFAULT_J2EE_TYPE
           
 
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)
          Deprecated.  
 void addOperation(String name, Class[] paramTypes)
          Deprecated.  
 void addOperation(String name, Class[] paramTypes, String returnType)
           
 void addOperation(String name, String returnType)
           
 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
 

Field Detail

DEFAULT_J2EE_TYPE

public static final String DEFAULT_J2EE_TYPE
See Also:
Constant Field Values
Constructor Detail

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)
Method Detail

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)
Deprecated. 


addOperation

public void addOperation(String name,
                         Class[] paramTypes)
Deprecated. 


addOperation

public void addOperation(String name,
                         String returnType)

addOperation

public void addOperation(String name,
                         Class[] paramTypes,
                         String returnType)

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 reference
type - The proxy type of the GBean or objects in a ReferenceCollection
namingType - 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 © 2003-2007 Apache Software Foundation. All Rights Reserved.