|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProducerManager
Specifies an interface for managing producers for a given consumer.
| Nested Class Summary | |
|---|---|
static class |
ProducerManager.Factory
A ProducerManager factory. |
| Method Summary | |
|---|---|
com.bea.wsrp.config.ProducerInfo |
addProducer(com.bea.wsrp.config.ProducerInfo producerInfo,
String webappName)
Adds a producer |
com.bea.wsrp.config.ProducerInfo |
addProducer(String wsdlUrl,
DefinitionsDocument wsdl,
ServiceDescription serviceDescription,
String producerHandle,
String description,
String vendorName,
String webappName,
HttpServletRequest request)
Deprecated This method will be removed in a future release. |
com.bea.wsrp.config.ProducerInfo |
addProducer(String wsdlUrl,
String producerHandle,
String description,
String vendorName,
String webappName,
HttpServletRequest request)
Adds a producer |
void |
deregisterProducer(String producerHandle,
String webappName,
HttpServletRequest httpRequest)
Deprecated |
void |
deregisterProducer(String producerHandle,
String webappName,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
Deregisters with the given producer. |
com.bea.wsrp.config.ProducerInfo |
getProducer(String producerHandle,
String webappName)
Returns the producer, given its handle and the web app. |
SortableFilterablePagedResult<com.bea.wsrp.config.ProducerInfo> |
getProducers(HttpServletRequest httpRequest,
WebAppSearchCriteria searchCriteria,
int pageSize)
Returns a paged set of currently added producers. |
com.bea.wsrp.config.ProducerInfo[] |
getProducers(String webappName)
Returns an array of currently added producers. |
com.bea.wsrp.config.ProducerInfo[] |
getProducersByWsdl(String wsdlUrl,
String webappName)
Returns all producers that point to the given WSDL URL. |
IServiceDescription |
getProducerServiceDescription(String producerHandle,
String webappName,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
Returns the service description for a specified producer. |
ServiceDescription |
getServiceDescription(String producerHandle,
String webappName)
Deprecated This method will be removed in a future version. Use getProducerServiceDescription. |
String |
modifyProducerRegistration(String producerHandle,
String webappName,
Map<String,Object> registrationProperties,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
Modifies a current producer's registration. |
String |
modifyProducerRegistration(String producerHandle,
String webappName,
Map registrationProperties,
HttpServletRequest httpRequest)
Deprecated |
String |
registerProducer(String producerHandle,
String webappName,
Map<String,Object> registrationProperties,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
Registers this consumer with a producer. |
String |
registerProducer(String producerHandle,
String webappName,
Map registrationProperties,
HttpServletRequest httpRequest)
Deprecated |
void |
removeProducer(String producerHandle,
String webappName)
Deprecated |
void |
removeProducer(String producerHandle,
String webappName,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
Removes a producer. |
void |
removeProducerCascade(String producerHandle,
String webappName,
boolean disconnected,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
Removes a producer, first removing any added portlets for the producer. |
void |
removeProducerCascade(String producerHandle,
String webappName,
HttpServletRequest httpRequest)
Deprecated |
void |
removeProducerCascade(String producerHandle,
String webappName,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
Removes a producer, first removing any added portlets for the producer. |
void |
updateProducer(com.bea.wsrp.config.ProducerInfo producer,
String webappName)
Updates the given producer |
| Method Detail |
|---|
com.bea.wsrp.config.ProducerInfo addProducer(String wsdlUrl,
DefinitionsDocument wsdl,
ServiceDescription serviceDescription,
String producerHandle,
String description,
String vendorName,
String webappName,
HttpServletRequest request)
throws ProducerManagerException,
ProducerAlreadyExistsException
Adds a producer
wsdlUrl - WSDL URLwsdl - WSDL documentserviceDescription - service descriptionproducerHandle - producer handledescription - descriptionvendorName - vendorwebappName - web apprequest - HTTP request
ProducerAlreadyExistsException - thrown if the given producer data already exists on this consumer
ProducerManagerException - thrown due to an error performing the
operation#addProducer(String, String, String, String, String, javax.servlet.http.HttpServletRequest)
com.bea.wsrp.config.ProducerInfo addProducer(String wsdlUrl,
String producerHandle,
String description,
String vendorName,
String webappName,
HttpServletRequest request)
throws ProducerManagerException,
ProducerAlreadyExistsException
Adds a producer
wsdlUrl - WSDL URLproducerHandle - producer handledescription - descriptionvendorName - vendorwebappName - web app to which this producer is being addedrequest - HTTP request
ProducerAlreadyExistsException - thrown if the given producer data already exists on this consumer
ProducerManagerException - thrown due to an error performing the
operation
com.bea.wsrp.config.ProducerInfo addProducer(com.bea.wsrp.config.ProducerInfo producerInfo,
String webappName)
throws ProducerManagerException,
ProducerAlreadyExistsException
Adds a producer
producerInfo - producer infowebappName - web app
ProducerAlreadyExistsException - thrown if the given producer data already exists on this consumer
ProducerManagerException - thrown due to an error performing the
operation
com.bea.wsrp.config.ProducerInfo[] getProducers(String webappName)
throws ProducerManagerException
webappName - webapp name
ProducerManagerException - thrown due to an error performing the
operation
SortableFilterablePagedResult<com.bea.wsrp.config.ProducerInfo> getProducers(HttpServletRequest httpRequest,
WebAppSearchCriteria searchCriteria,
int pageSize)
throws ProducerManagerException
httpRequest - http requestpageSize - page size
ProducerManagerException - thrown due to an error performing the operation.
com.bea.wsrp.config.ProducerInfo[] getProducersByWsdl(String wsdlUrl,
String webappName)
throws ProducerManagerException
Returns all producers that point to the given WSDL URL.
wsdlUrl - webappName -
ProducerManagerException
com.bea.wsrp.config.ProducerInfo getProducer(String producerHandle,
String webappName)
throws ProducerManagerException
ProducerManagerException - thrown due to an error performing the
operation
void updateProducer(com.bea.wsrp.config.ProducerInfo producer,
String webappName)
throws ProducerManagerException
Updates the given producer
producer - webappName -
ProducerManagerException
ServiceDescription getServiceDescription(String producerHandle,
String webappName)
throws ProducerManagerException
producerHandle - producer handle
ProducerManagerException - thrown due to an error performing the
operation
IllegalArgumentException - thrown if the given producer handle is
invalid
IServiceDescription getProducerServiceDescription(String producerHandle,
String webappName,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
throws ProducerManagerException
Returns the service description for a specified producer.
producerHandle - webappName - name of the consumerhttpRequest - requesthttpResponse - responseservletContext - context
ProducerManagerException
String registerProducer(String producerHandle,
String webappName,
Map registrationProperties,
HttpServletRequest httpRequest)
throws IllegalArgumentException,
RegistrationNotSupportedException,
ProducerAlreadyRegisteredException,
ProducerManagerException
Registers this consumer with a producer.
producerHandle - producer handleregistrationProperties - registration properties
IllegalArgumentException - if the given producer handle is invalid
RegistrationNotSupportedException - thrown if the given producer does not
support registration
ProducerAlreadyRegisteredException - throw if the given producer is already registered
ProducerManagerException - thrown due to an error performing the
operation
String registerProducer(String producerHandle,
String webappName,
Map<String,Object> registrationProperties,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
throws IllegalArgumentException,
RegistrationNotSupportedException,
ProducerAlreadyRegisteredException,
ProducerManagerException,
com.bea.wsrp.config.ProducerUnavailableException
Registers this consumer with a producer.
producerHandle - producer handlewebappName - name of the consumerregistrationProperties - registration propertieshttpRequest - requesthttpResponse - responseservletContext - context
IllegalArgumentException - if the given producer handle is invalid
RegistrationNotSupportedException - thrown if the given producer does not
support registration
ProducerAlreadyRegisteredException - throw if the given producer is already registered
ProducerManagerException - thrown due to an error performing the
operation
com.bea.wsrp.config.ProducerUnavailableException
String modifyProducerRegistration(String producerHandle,
String webappName,
Map registrationProperties,
HttpServletRequest httpRequest)
throws IllegalArgumentException,
RegistrationNotSupportedException,
ProducerManagerException
producerHandle - producer handleregistrationProperties - new registration properties
IllegalArgumentException - if the given producer handle is invalid
RegistrationNotSupportedException - thrown if the given producer does not
support registration
ProducerManagerException - thrown due to an error performing the
operation
String modifyProducerRegistration(String producerHandle,
String webappName,
Map<String,Object> registrationProperties,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
throws IllegalArgumentException,
RegistrationNotSupportedException,
ProducerManagerException
producerHandle - producer handleregistrationProperties - new registration propertieshttpRequest - requesthttpResponse - responseservletContext - context
IllegalArgumentException - if the given producer handle is invalid
RegistrationNotSupportedException - thrown if the given producer does not
support registration
ProducerManagerException - thrown due to an error performing the
operation
void deregisterProducer(String producerHandle,
String webappName,
HttpServletRequest httpRequest)
throws IllegalArgumentException,
RegistrationNotSupportedException,
ProducerManagerException
Deregisters with the given producer.
producerHandle - webappName -
IllegalArgumentException - if the given producer handle is invalid
RegistrationNotSupportedException
ProducerManagerException
void deregisterProducer(String producerHandle,
String webappName,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
throws IllegalArgumentException,
RegistrationNotSupportedException,
ProducerManagerException
Deregisters with the given producer.
producerHandle - webappName -
IllegalArgumentException - if the given producer handle is invalid
RegistrationNotSupportedException
ProducerManagerException
void removeProducer(String producerHandle,
String webappName)
throws IllegalArgumentException,
com.bea.wsrp.config.ProducerInUseException,
ProducerManagerException
Removes a producer. If the producer still has added portlets, an exception is thrown. The producer being
removed must be known by the RemotePortletManager.
producerHandle - The handle for the producer being removedwebappName - the webapp name
ProducerManagerException - thrown due to an error performing the
operation
com.bea.wsrp.config.ProducerInUseException - thrown if the given producer can not be
removed
IllegalArgumentException - if the given producer handle is invalid
void removeProducer(String producerHandle,
String webappName,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
throws IllegalArgumentException,
com.bea.wsrp.config.ProducerInUseException,
ProducerManagerException
Removes a producer. If the producer still has added portlets, an exception is thrown. The producer being
removed must be known by the RemotePortletManager.
producerHandle - The handle for the producer being removedwebappName - the webapp name
ProducerManagerException - thrown due to an error performing the
operation
com.bea.wsrp.config.ProducerInUseException - thrown if the given producer can not be
removed
IllegalArgumentException - if the given producer handle is invalid
void removeProducerCascade(String producerHandle,
String webappName,
HttpServletRequest httpRequest)
throws IllegalArgumentException,
ProducerManagerException
Removes a producer, first removing any added portlets for the producer.
producerHandle - The handle for the producer being removedwebappName - the webapp namehttpRequest - HttpServletRequest
ProducerManagerException - thrown due to an error performing the
operation
IllegalArgumentException - if the given producer handle is invalid
void removeProducerCascade(String producerHandle,
String webappName,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
throws IllegalArgumentException,
ProducerManagerException
Removes a producer, first removing any added portlets for the producer.
producerHandle - The handle for the producer being removedwebappName - the webapp namehttpRequest - HttpServletRequest
ProducerManagerException - thrown due to an error performing the
operation
IllegalArgumentException - if the given producer handle is invalid
void removeProducerCascade(String producerHandle,
String webappName,
boolean disconnected,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServletContext servletContext)
throws IllegalArgumentException,
ProducerManagerException
Removes a producer, first removing any added portlets for the producer.
producerHandle - The handle for the producer being removedwebappName - the webapp namedisconnected - when this is set to true, this API will not attempt to talk to the producer for tasks such
as deregistrationhttpRequest - HttpServletRequest
ProducerManagerException - thrown due to an error performing the
operation
IllegalArgumentException - if the given producer handle is invalid
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||