Interface AdminObjectConfigParser
-
- All Superinterfaces:
ConnectorConfigParser
- All Known Implementing Classes:
AdminObjectConfigParserImpl
public interface AdminObjectConfigParser extends ConnectorConfigParser
Interface class of admin object interface parser methods.- Author:
- Srikanth P
-
-
Field Summary
-
Fields inherited from interface com.sun.enterprise.connectors.util.ConnectorConfigParser
AOR, configParserUtil, ddTransformUtil, MCF, MSL, RA
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getAdminObjectClassNames(ConnectorDescriptor desc, String intfName)
gets the adminObjectClassNames pertaining to a rar & a specific adminObjectInterfaceNameString[]
getAdminObjectInterfaceNames(ConnectorDescriptor desc)
Obtains the admin object intercface names of a given rar.Properties
getJavaBeanProps(ConnectorDescriptor desc, String adminObjectIntfName, String adminObjectClassName, String rarName)
Obtains the merged javabean properties (properties present in ra.xml and introspected properties) of a specific configuration.boolean
hasAdminObject(ConnectorDescriptor desc, String intfName, String className)
Checks whether the provided interfacename and classname combination is present in any of the admin objects for the resource-adapter-
Methods inherited from interface com.sun.enterprise.connectors.util.ConnectorConfigParser
getConfidentialProperties, getJavaBeanProps
-
-
-
-
Method Detail
-
getAdminObjectInterfaceNames
String[] getAdminObjectInterfaceNames(ConnectorDescriptor desc) throws ConnectorRuntimeException
Obtains the admin object intercface names of a given rar.- Parameters:
desc
- ConnectorDescriptor pertaining to rar.- Returns:
- Array of admin object interface names as strings
- Throws:
ConnectorRuntimeException
- If rar is not exploded or incorrect ra.xml
-
getAdminObjectClassNames
String[] getAdminObjectClassNames(ConnectorDescriptor desc, String intfName) throws ConnectorRuntimeException
gets the adminObjectClassNames pertaining to a rar & a specific adminObjectInterfaceName- Parameters:
desc
- ConnectorDescriptor pertaining to rar.intfName
- admin-object-interface name- Returns:
- Array of AdminObjectInterface names as Strings
- Throws:
ConnectorRuntimeException
- if parsing fails
-
hasAdminObject
boolean hasAdminObject(ConnectorDescriptor desc, String intfName, String className) throws ConnectorRuntimeException
Checks whether the provided interfacename and classname combination is present in any of the admin objects for the resource-adapter- Parameters:
desc
- ConnectorDescriptor pertaining to rar.intfName
- interface-nameclassName
- class-name- Returns:
- boolean indicating the presence of adminobject
- Throws:
ConnectorRuntimeException
- If rar is not exploded or incorrect ra.xml
-
getJavaBeanProps
Properties getJavaBeanProps(ConnectorDescriptor desc, String adminObjectIntfName, String adminObjectClassName, String rarName) throws ConnectorRuntimeException
Obtains the merged javabean properties (properties present in ra.xml and introspected properties) of a specific configuration.- Parameters:
desc
- ConnectorDescriptor pertaining to rar .adminObjectIntfName
- admin object interface .adminObjectClassName
- admin object classnamerarName
- resource-adapter-name- Returns:
- Merged properties.
- Throws:
ConnectorRuntimeException
- If rar is not exploded or incorrect ra.xml
-
-