|
Oracle Fusion Middleware extensions for Enterprise Scheduler Service 11g Release 1 (11.1.1.5) E22563-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcp.srs.model.util.RegisterWSRPProducer
public class RegisterWSRPProducer
This class reference the sample implementation from One of the Portlet Sample projects. To serve as the util class for dynamically register and unregister WSRP Producer. Sample class to test and illustrate using the runtime MBeans in a running application to create the necessary ADF Connection Architecture connections and use these to then register a producer. The code is designed to be deployed as part of the application so that it can be called from another application to cause the registration. The single entry point is the register method.
The Exception handling is a bit primitive. All exceptions just end up getting
thrown out to the calling method.
Constructor Summary | |
---|---|
RegisterWSRPProducer()
|
Method Summary | |
---|---|
java.lang.String |
getWsdlModel(java.lang.String wsdlUrl)
Borrowed from /emai/source/model/oracle/sysman/emai/model/workplace/ProducerModel.java@672 |
java.lang.String |
register(java.lang.String connectionName,
java.lang.String producerURL,
boolean secureProducer)
|
java.lang.String |
register(java.lang.String connectionName,
java.lang.String producerURL,
boolean secureProducer,
int timeout)
Peform connection creation and registration. |
static java.lang.String |
registerProducer(java.lang.String connIdentifier,
java.lang.String endPointURL,
java.lang.String pContainerHostName,
boolean secureProducer)
|
static java.lang.String |
registerProducer(java.lang.String connIdentifier,
java.lang.String endPointURL,
java.lang.String pContainerHostName,
boolean secureProducer,
int timeout)
|
void |
unregister(java.lang.String connectionName,
java.lang.String producerId)
TODO: what would be the use case for unregister for ESS SRS? To best tested |
static boolean |
unregisterProducer(java.lang.String connIdentifier,
java.lang.String pContainerHostName,
java.lang.String producerId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegisterWSRPProducer() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public void unregister(java.lang.String connectionName, java.lang.String producerId) throws java.lang.Exception
connectionName
- producerId
-
java.lang.Exception
public java.lang.String register(java.lang.String connectionName, java.lang.String producerURL, boolean secureProducer) throws java.lang.Exception
connectionName
- producerURL
- secureProducer
-
java.lang.Exception
public java.lang.String register(java.lang.String connectionName, java.lang.String producerURL, boolean secureProducer, int timeout) throws java.lang.Exception
connectionName
- the connection name. Also used for the producerName.producerURL
- the URL to the remote producer.
java.lang.Exception
- pretty much anything that goes wrong will propagate out.public java.lang.String getWsdlModel(java.lang.String wsdlUrl) throws java.lang.Exception
java.lang.Exception
public static java.lang.String registerProducer(java.lang.String connIdentifier, java.lang.String endPointURL, java.lang.String pContainerHostName, boolean secureProducer)
connIdentifier
- endPointURL
- secureProducer
-
public static java.lang.String registerProducer(java.lang.String connIdentifier, java.lang.String endPointURL, java.lang.String pContainerHostName, boolean secureProducer, int timeout)
connIdentifier
- endPointURL
- secureProducer
- timeout
-
public static boolean unregisterProducer(java.lang.String connIdentifier, java.lang.String pContainerHostName, java.lang.String producerId)
|
Oracle Fusion Middleware extensions for Enterprise Scheduler Service 11g Release 1 (11.1.1.5) E22563-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |