com.ibm.twss.spm.admin.sub
Class SubscriptionAdministrationInterfaceBindingStub

java.lang.Object
  extended by com.ibm.ws.webservices.engine.client.Stub
      extended by com.ibm.twss.spm.admin.sub.SubscriptionAdministrationInterfaceBindingStub
All Implemented Interfaces:
SubscriptionAdministrationInterface, java.rmi.Remote, javax.xml.rpc.Stub

public class SubscriptionAdministrationInterfaceBindingStub
extends com.ibm.ws.webservices.engine.client.Stub
implements SubscriptionAdministrationInterface

SOAP binding for the subscription administration interface.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.ws.webservices.engine.client.Stub
com.ibm.ws.webservices.engine.client.Stub.Invoke
 
Field Summary
 
Fields inherited from class com.ibm.ws.webservices.engine.client.Stub
cachedEndpoint, cachedhttpProxyHost, cachedhttpProxyPassword, cachedhttpProxyPort, cachedhttpProxyUser, cachedhttpRedirectEnabled, cachedhttpsProxyHost, cachedhttpsProxyPassword, cachedhttpsProxyPort, cachedhttpsProxyUser, cachedPassword, cachedPortName, cachedProperties, cachedRequestSoapHeaders, cachedRequestTransportHeaders, cachedResponseSoapHeaders, cachedResponseSoapHeaderTemplates, cachedResponseTransportHeaders, cachedResponseTransportHeadersTemplate, cachedSessionContext, cachedsslCfgName, cachedTimeout, cachedUsername, cachedWriteTimeout, connection, engine, maintainSession, maintainSessionSet, messageContexts, service
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
SubscriptionAdministrationInterfaceBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
 CreateSubscriptionResponse createSubscription(CreateSubscriptionRequest request)
          Creates a subscription between a requester identifier (an individual requester or a requester group), the specified service, operation, and service implementation.
 GetSubscriptionsResponse getSubscriptions(GetSubscriptionsRequest request)
          Gets a list of subscriptions for the supplied requester identifier.
 RemoveSubscriptionResponse removeSubscription(RemoveSubscriptionRequest request)
          Remove a subscription.
 ResolveSubscriptionResponse resolveSubscription(ResolveSubscriptionRequest request)
          Retrieves the subscription associated with a (requester, service, operation) scope.
 
Methods inherited from class com.ibm.ws.webservices.engine.client.Stub
_getProperty, _getPropertyNames, _setProperty, convert, getPassword, getPortName, getTimeout, getTypeMapping, getUsername, primeMessageContext, setMaintainSession, setPassword, setPortName, setPortName, setTimeout, setUsername, setWriteTimeout, validateSoapHeadersHashMap, validateTransportPropertiesHashMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionAdministrationInterfaceBindingStub

public SubscriptionAdministrationInterfaceBindingStub(java.net.URL endpointURL,
                                                      javax.xml.rpc.Service service)
                                               throws com.ibm.ws.webservices.engine.WebServicesFault
Throws:
com.ibm.ws.webservices.engine.WebServicesFault
Method Detail

createSubscription

public CreateSubscriptionResponse createSubscription(CreateSubscriptionRequest request)
                                              throws java.rmi.RemoteException,
                                                     ServicePolicyException
Description copied from interface: SubscriptionAdministrationInterface
Creates a subscription between a requester identifier (an individual requester or a requester group), the specified service, operation, and service implementation. The subscription may be made to an individual operation or the special 'ALL' operation. Each subscription creates a mapping between a service and a corresponding service implementation as part of the subscription; there can only be a single service implementation that processes a request for a given subscription.

Create subscription operation input parameters. Specifies the requester, service, operation, and service implementation that form the subscription.

Specified by:
createSubscription in interface SubscriptionAdministrationInterface
Returns:
Create subscription operation response result. This response has empty content.

Throws:
ServicePolicyException - Raised if the supplied requester, service, operation, or service implementation identifies do not exist, or if an internal error occurred creating the subscription.

java.rmi.RemoteException

removeSubscription

public RemoveSubscriptionResponse removeSubscription(RemoveSubscriptionRequest request)
                                              throws java.rmi.RemoteException,
                                                     ServicePolicyException
Description copied from interface: SubscriptionAdministrationInterface
Remove a subscription. The subscription must match the provided information to be removed.

Remove subscription operation input parameters. Specifies the subscription information to remove. The subscription information in the service policy manager must match this input exactly to be removed.

Specified by:
removeSubscription in interface SubscriptionAdministrationInterface
Returns:
Create subscription operation response result. This response has empty content.

Throws:
ServicePolicyException - Raised if the supplied subscription information does not match an existing subscription, or if an internal error occurred.

java.rmi.RemoteException

getSubscriptions

public GetSubscriptionsResponse getSubscriptions(GetSubscriptionsRequest request)
                                          throws java.rmi.RemoteException,
                                                 ServicePolicyException
Description copied from interface: SubscriptionAdministrationInterface
Gets a list of subscriptions for the supplied requester identifier. The requester identifier may be an individual requester or a requester group. If there are no subscriptions associated with the supplied identifier, then an empty list will be returned.

Get subscription operation input parameters. Specifies the requester identifier whose list of subscriptions to fetch. May be an individual requester or a requester group.

Specified by:
getSubscriptions in interface SubscriptionAdministrationInterface
Returns:
Get subscription operation response result. Returns a list of subscriptions associated with the supplied requester identifier. If the requester identifier has no subscriptions, then an empty list is returned.

Throws:
ServicePolicyException - Raised if the supplied requester identifier is invalid or does not exist, or if an internal error occurred.

java.rmi.RemoteException

resolveSubscription

public ResolveSubscriptionResponse resolveSubscription(ResolveSubscriptionRequest request)
                                                throws java.rmi.RemoteException,
                                                       ServicePolicyException
Description copied from interface: SubscriptionAdministrationInterface
Retrieves the subscription associated with a (requester, service, operation) scope. The service implementation is implied in this scoping as there can only be one service implementation per subscription. This operation performs hierarchical resolution when determining the matching subscription. If a requester does not possess a matching subscription but a parent requester group does, then the parent's subscription will be returned. Always the most specific match in terms of being lower in the hierarchy will be returned.

Resolve subscription operation input parameters. Specifies the (requester, service, operation) scope to use when searching the requester hierarchy to locate a matching subscription.

Specified by:
resolveSubscription in interface SubscriptionAdministrationInterface
Returns:
Resolve subscription operation response result. Returns the matching subscription information.

Throws:
ServicePolicyException - Raised if an invalid (requester, service, operation) scope was supplied, if no subscription exists, or if an internal error occurred

java.rmi.RemoteException


Copyright © IBM Corp. All Rights Reserved.