public interface ActionFactory
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_ACTION_PROPERTY
System property to designate plugins that are not in an oracle home location
|
Modifier and Type | Method and Description |
---|---|
boolean |
addActionSearchPath(File actionSearchPath)
Add a custom jar to the action search path.
|
Action |
getAction(String actionName)
Return the action associated with the provided action name.
|
Action |
getAction(String actionName,
ActionType actionType)
Return the action associated with the action name using the provided oracle home as a
search location.
|
Action |
getAction(String actionName,
String oracleHome)
Return the action associated with the action name using the provided oracle home as a
search location.
|
Action |
getAction(String actionName,
String oracleHome,
ActionType actionType)
Return the action associated with the action name using the provided oracle home as a
search location.
|
Class<? extends Action> |
getClassForName(String className,
String oracleHome)
Return the class object for a standard action class
|
List<ActionName> |
getKnownActions()
Return the names of all known actions.
|
LifecycleOperation |
getLifecycleOperation(String operationName)
Return the lifecycle operation associated with the supplied name
|
static final String CUSTOM_ACTION_PROPERTY
Action getAction(String actionName) throws ActionException
actionName
- standard or custom action nameActionException
- an unexpected error occurred attempting to search for or instantiate the actionAction getAction(String actionName, ActionType actionType) throws ActionException
actionName
- standard or custom action nameactionType
- the type of the action to be loadedActionException
- an unexpected error occurred attempting to search for or instantiate the actionAction getAction(String actionName, String oracleHome) throws ActionException
actionName
- standard or custom action nameoracleHome
- location to search for the actionActionException
- an unexpected error occurred attempting to search for or instantiate the actionAction getAction(String actionName, String oracleHome, ActionType actionType) throws ActionException
actionName
- standard or custom action nameoracleHome
- location to search for the actionactionType
- the type of the action to be loadedActionException
- an unexpected error occurred attempting to search for or instantiate the actionLifecycleOperation getLifecycleOperation(String operationName) throws ActionException
operationName
- name of the lifecycle operationActionException
- if an error occurs or lifecycle is not foundClass<? extends Action> getClassForName(String className, String oracleHome) throws ActionException
className
- name of the action classoracleHome
- Oracle home containing the requested action, null for defaultActionException
- an unexpected error occurred attempting to load the action classList<ActionName> getKnownActions()
boolean addActionSearchPath(File actionSearchPath)
ActionFactory
.
If the File object passed does not exist nothing will be added to the action
search path. If the File object passed represents a directory then the
directory will be added to the search path.actionSearchPath
- the directory (or file) that should be added to the search path