public class PropertyFileBean extends Object
PropertyFileService.addPropertyFileBean(PropertyFileBean) can
be used to add this bean to the Hub| Modifier and Type | Field and Description |
|---|---|
static String |
INSTANCE_NAME
The name of the single instance of this bean
|
static String |
TYPE_NAME
The name of the type under which this bean should be placed
|
| Constructor and Description |
|---|
PropertyFileBean()
A null constructor for creating an empty PropertyFileBean
|
PropertyFileBean(PropertyFileBean copyMe)
This method will create a deep copy of the passed in PropertyFileBean
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTypeMapping(String typeName,
Class<?> beanClass)
Adds a type mapping to the set of type mappings
|
Map<String,Class<?>> |
getTypeMapping()
Gets the mapping from type name to bean class
|
Class<?> |
getTypeMapping(String typeName)
Gets the type mapping with the given name
|
Class<?> |
removeTypeMapping(String typeName)
Removes the type mapping with the given name
|
public static final String TYPE_NAME
public static final String INSTANCE_NAME
public PropertyFileBean()
public PropertyFileBean(PropertyFileBean copyMe)
copyMe - The non-null bean to copypublic Map<String,Class<?>> getTypeMapping()
public void addTypeMapping(String typeName, Class<?> beanClass)
typeName - The name of the type. May not be nullbeanClass - The bean class to which this type should be mapped.
May not be nullpublic Class<?> removeTypeMapping(String typeName)
typeName - removes the type mapping of the given name. May
not be nullCopyright © 2009-2014 Oracle Corporation. All Rights Reserved.