public interface InterceptorManagementMBean
InterceptorManagementMBean provides management operations for installing,
 uninstalling and viewing SIS interceptor components installed in a SIS RA entity.| Modifier and Type | Field and Description | 
|---|---|
static String | 
SIS_MANAGEMENT_TYPE  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
createInterceptorRef(String name,
                    InterceptorID interceptorID)
Create an interceptor reference in the SIS. 
 | 
Object[] | 
getDependencies(InterceptorID id)
Get the set of components that a given interceptor component depends on. 
 | 
CompositeData | 
getDescriptor(InterceptorRefID interceptorRefID)
Get information about an interceptor reference in the SIS. 
 | 
String | 
getInterceptor(InterceptorID id)
Retrieves the XML form of the interceptor component 
 | 
InterceptorRefID[] | 
getInterceptorRefs()
Get the component identifiers of all interceptor references in the SIS. 
 | 
InterceptorID[] | 
getInterceptors()
Get the identifiers of all interceptor components installed in the SIS. 
 | 
SISComponent[] | 
getReferringComponents(InterceptorID id)
Get the set of components that depend on a given interceptor component. 
 | 
SISComponent[] | 
getReferringComponents(InterceptorRefID interceptorRefID)
Get the set of components that depend on a given interceptor reference component. 
 | 
InterceptorID | 
install(byte[] content)
Installs an interceptor component into the SIS. 
 | 
InterceptorID | 
install(String url)
Installs an interceptor component into the SIS. 
 | 
boolean | 
isInstalled(InterceptorID id)
Determine whether an interceptor component is installed in the SIS. 
 | 
void | 
removeInterceptorRef(InterceptorRefID interceptorRefID)
Remove an interceptor reference from the SIS. 
 | 
InterceptorID | 
replace(byte[] content)
Replaces an interceptor component in the SIS. 
 | 
InterceptorID | 
replace(String url)
Replaces an interceptor component in the SIS. 
 | 
void | 
replaceInterceptorRef(InterceptorRefID interceptorRefID,
                     InterceptorID interceptorID)
Replace an interceptor reference in the SIS with a new reference. 
 | 
void | 
uninstall(InterceptorID id)
Uninstall an interceptor component from the SIS. 
 | 
static final String SIS_MANAGEMENT_TYPE
InterceptorID install(String url) throws NullPointerException, MalformedURLException, AlreadyDeployedException, DeploymentException, ManagementException
url - the URL of the interceptor XML file to installInterceptorID that identifies the installed component.NullPointerException - if url is nullMalformedURLException - if url is not a properly formatted URLAlreadyDeployedException - if a component with the same InterceptorID is
        already installedDeploymentException - if the component's contents are not validManagementException - if the component could not be installed due to a system-level failure.InterceptorID install(byte[] content) throws NullPointerException, AlreadyDeployedException, DeploymentException, ManagementException
content - the interceptor XML content to be installedInterceptorID that identifies the installed component.NullPointerException - if content is nullAlreadyDeployedException - if a component with the same InterceptorID is
        already installedDeploymentException - if the component's contents are not validManagementException - if the component could not be installed due to a system-level failure.InterceptorID replace(String url) throws NullPointerException, MalformedURLException, DeploymentException, ManagementException
install(String).url - the URL of the interceptor XML file to installInterceptorID that identifies the reinstalled component.NullPointerException - if url is nullMalformedURLException - if url is not a properly formatted URLDeploymentException - if the component's contents are not validManagementException - if the component could not be installed due to a system-level failure.InterceptorID replace(byte[] content) throws NullPointerException, DeploymentException, ManagementException
install(byte[]).content - the interceptor XML content to be installedInterceptorID that identifies the reinstalled component.NullPointerException - if content is nullDeploymentException - if the component's contents are not validManagementException - if the component could not be installed due to a system-level failure.void uninstall(InterceptorID id) throws NullPointerException, UnrecognizedComponentException, DependencyException, ManagementException
id - the identifier of the component to uninstallNullPointerException - if id is nullUnrecognizedComponentException - if id does not match an installed componentDependencyException - if another installed SIS component depends on this componentManagementException - if the component could not be uninstalled due to a system-level failure.boolean isInstalled(InterceptorID id) throws NullPointerException, ManagementException
id - the identifier of the component.true if the specified interceptor is installed in the SIS,
        false otherwise.NullPointerException - if id is null.ManagementException - if the presence of the component could not be determined
        due to a system-level failure.InterceptorID[] getInterceptors() throws ManagementException
InterceptorIDsManagementException - if the identifiers could not be obtained due to a system-level failure.String getInterceptor(InterceptorID id) throws NullPointerException, UnrecognizedComponentException, ManagementException
id - the identifier of the componentNullPointerException - if id is nullUnrecognizedComponentException - if id does not match an installed componentManagementException - if the component could not be retrieved due to a system-level failure.Object[] getDependencies(InterceptorID id) throws NullPointerException, UnrecognizedComponentException, ManagementException
id - the identifier of the component.NullPointerException - if id is nullUnrecognizedComponentException - if id does not match an installed componentManagementException - if the dependencies could not be retrieved due to a system-level failure.SISComponent[] getReferringComponents(InterceptorID id) throws NullPointerException, UnrecognizedComponentException, ManagementException
id - the identifier of the component.NullPointerException - if id is null.UnrecognizedComponentException - if id does not match an installed component.ManagementException - if the referring components could not be retrieved due to a system-level failure.void createInterceptorRef(String name, InterceptorID interceptorID) throws NullPointerException, AlreadyDeployedException, DeploymentException, ManagementException
name - the name for the new interceptor reference.  The name can be used in compositions
        to identify the interceptor to be invoked.interceptorID - the id of the interceptor component.NullPointerException - if either argument is null.AlreadyDeployedException - if an interceptor reference with the specified name is already
        in use in the SIS RA entity.DeploymentException - if the interceptor reference cannot be created due to a missing
        dependency.ManagementException - if the interceptor reference could not be created due to a
        system-level-failure.void replaceInterceptorRef(InterceptorRefID interceptorRefID, InterceptorID interceptorID) throws NullPointerException, UnrecognizedComponentException, DeploymentException, ManagementException
interceptorRefID - the component identifier of the interceptor reference to replace.interceptorID - the id of the interceptor component.NullPointerException - if either argument is null.UnrecognizedComponentException - if interceptorRefID does not match a current
         interceptor reference.DeploymentException - if the extension reference cannot be created due to a missing
        dependency.ManagementException - if the interceptor reference could not be created due to a
        system-level-failure.void removeInterceptorRef(InterceptorRefID interceptorRefID) throws NullPointerException, UnrecognizedComponentException, DependencyException, ManagementException
interceptorRefID - the component identifier of the interceptor reference to remove.NullPointerException - if interceptorRefID is null.UnrecognizedComponentException - if interceptorRefID does not match a current
         interceptor reference.DependencyException - if another installed SIS component depends on this component.ManagementException - if the interceptor reference could not be removed due to a
         system-level failure.InterceptorRefID[] getInterceptorRefs() throws ManagementException
ManagementException - if the interceptor references could not be obtained due to a
        system-level failure.CompositeData getDescriptor(InterceptorRefID interceptorRefID) throws NullPointerException, UnrecognizedComponentException, ManagementException
This method returns a CompositeData type with the following fields:
| Field | Open Type | Description | 
|---|---|---|
| name | String | The name of the interceptor reference. | 
| interceptorName | String | The name component of the referenced interceptor component identifier. | 
| interceptorVendor | String | The vendor component of the referenced interceptor service component identifier. | 
| interceptorVersion | String | The version component of the referenced interceptor service component identifier. | 
interceptorRefID - the component identifier of the interceptor reference.CompositeData object as described above.NullPointerException - if interceptorRefID is null.UnrecognizedComponentException - if interceptorRefID does not match a current
        interceptor reference.ManagementException - if the interceptor reference descriptor could not be obtained due
        to a system-level failure.SISComponent[] getReferringComponents(InterceptorRefID interceptorRefID) throws NullPointerException, UnrecognizedComponentException, ManagementException
interceptorRefID - the component identifier of the interceptor reference.NullPointerException - if id is null.UnrecognizedComponentException - if id does not match an installed component.ManagementException - if the referring components could not be retrieved due to a system-level failure.