Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addPropertyFileBean(PropertyFileBean) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
- addPropertyFileBean(PropertyFileBean) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
-
This is a utility method that will add the given
PropertyFileBeanto the Hub for use in configuring this service - addTypeMapping(String, Class<?>) - Method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
-
Adds a type mapping to the set of type mappings
C
- createPropertyHandleOfAnyType() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
- createPropertyHandleOfAnyType() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
-
Creates a PropertyFileHandle for reading an HK2 property file.
- createPropertyHandleOfAnyType(String, String) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
- createPropertyHandleOfAnyType(String, String) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
-
Creates a PropertyFileHandle for reading an HK2 property file.
- createPropertyHandleOfSpecificType(String) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
- createPropertyHandleOfSpecificType(String) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
-
Creates a PropertyFileHandle for reading an HK2 property file that has a specific type name.
- createPropertyHandleOfSpecificType(String, String) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
- createPropertyHandleOfSpecificType(String, String) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
-
Creates a PropertyFileHandle for reading an HK2 property file that has a specific type name.
D
- DEFAULT_INSTANCE_NAME - Static variable in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
-
The default name for an instance if the instance name cannot be determined
- DEFAULT_TYPE_NAME - Static variable in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
-
The default name for a type if the type name cannot be determined
- dispose() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
- dispose() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
-
Will remove any instances added by this handle from the hub, and make it such that this handle can no longer be used
E
- enablePropertyFileService(ServiceLocator) - Static method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileUtilities
-
This class adds the system implementation of
PropertyFileServiceto the given service locator.
G
- getDefaultInstanceName() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
- getDefaultInstanceName() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
-
Gets the default instance name that will be given to instances whose name cannot otherwise be determined
- getDefaultType() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
- getDefaultType() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
-
Returns the default type name if the type cannot be determined from the key of the property.
- getSpecificType() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
- getSpecificType() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
-
Returns the specific type associated with this handle
- getTypeMapping() - Method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
-
Gets the mapping from type name to bean class
- getTypeMapping(String) - Method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
-
Gets the type mapping with the given name
I
- INSTANCE_NAME - Static variable in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
-
The name of the single instance of this bean
O
- org.glassfish.hk2.configuration.persistence.properties - package org.glassfish.hk2.configuration.persistence.properties
- org.glassfish.hk2.configuration.persistence.properties.internal - package org.glassfish.hk2.configuration.persistence.properties.internal
P
- PropertyFileBean - Class in org.glassfish.hk2.configuration.persistence.properties
-
This bean configures the PropertyFileService itself.
- PropertyFileBean() - Constructor for class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
-
A null constructor for creating an empty PropertyFileBean
- PropertyFileBean(PropertyFileBean) - Constructor for class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
-
This method will create a deep copy of the passed in PropertyFileBean
- PropertyFileHandle - Interface in org.glassfish.hk2.configuration.persistence.properties
-
This handle is used to read property files and put the values into the HK2 configuration hub.
- PropertyFileHandleImpl - Class in org.glassfish.hk2.configuration.persistence.properties.internal
- PropertyFileService - Interface in org.glassfish.hk2.configuration.persistence.properties
-
This service will read a java property file and add its contents to the HK2 configuration hub.
- PropertyFileServiceImpl - Class in org.glassfish.hk2.configuration.persistence.properties.internal
- PropertyFileServiceImpl() - Constructor for class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
- PropertyFileUtilities - Class in org.glassfish.hk2.configuration.persistence.properties
-
This utility should be used when initializing hk2 in order to properly add the PropertyFileService to a specific registry
- PropertyFileUtilities() - Constructor for class org.glassfish.hk2.configuration.persistence.properties.PropertyFileUtilities
R
- readProperties(Properties) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
- readProperties(Properties) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
-
Reads the file associated with this handle and will do the following: Add any type found not previously added by this handle Add any instance found not previously added by this handle Modify any property that has changed value Remove any instance no longer seen in the file but that had previously been added In particular this method will NOT remove a type that was previously added but which has no more instances (other files may be contributing to the same type).
- removePropertyFileBean() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
- removePropertyFileBean() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
-
This is a utility method that will remove the
PropertyFileBeanfrom the Hub if it is present - removeTypeMapping(String) - Method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
-
Removes the type mapping with the given name
T
- TYPE_NAME - Static variable in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
-
The name of the type under which this bean should be placed
All Classes and Interfaces|All Packages|Constant Field Values