Package com.webmethods.portal.mech
Interface IMechanicsManager
- All Superinterfaces:
IComponent
,IComponentProvider
,IInitializable
,IURIResolver
Manages mechanics. The mechanics for a particular type can be acquired from this.
-
Field Summary
Fields inherited from interface com.webmethods.portal.system.IComponentProvider
ATTR_APP_NAME, ATTR_BEG_QUERY, ATTR_END_QUERY, ATTR_MID_QUERY, BIZPOLICY_MANAGER, CACHE_PROVIDER, COMMAND_PROVIDER, COMPONENTS_QUERY, INSTALL_PROVIDER, MECH_PROVIDER, METACONTEXT_PROVIDER, PHASE_PROVIDER, POLICY_PROVIDER, SEARCH_PROVIDER
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResolver
(String name, IMechanicsResolver resolver) Adds a new mechanics resolver without registering a new componentgetMechanics
(IURI id) Gets the mechanics for a particular resource id.getMechanics
(String type) Gets the mechanics for a particular type.getMechanics
(String type, IURI id) Gets the mechanics for a particular verb and resource id.getResolver
(String name) Returns registered mechanics resolved for a given name.Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.IComponentProvider
exists, getComponent, getComponent, getComponent, getComponentQueryString, getComponents, getDefaultComponent, getLogger, initDeferredWebAppComponents, lookup, registerComponent, reloadComponent, reloadComponent, unregisterComponent, upgradeComponentDataFromBootstrapComponentData
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
Methods inherited from interface com.webmethods.portal.system.IURIResolver
acquireURI, acquireURI
-
Method Details
-
getMechanics
Gets the mechanics for a particular type.- Throws:
PortalException
-
getMechanics
Gets the mechanics for a particular resource id.- Throws:
PortalException
-
getMechanics
Gets the mechanics for a particular verb and resource id.- Parameters:
type
- an arbitrary typeid
- uniquely describes this resource. Cannot be null- Returns:
- The appropriate ICommand or NULL if not found
- Throws:
PortalException
-
getResolver
Returns registered mechanics resolved for a given name. Returns null if not found- Parameters:
name
-- Returns:
-
addResolver
Adds a new mechanics resolver without registering a new component- Parameters:
name
-resolver
-
-