|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bexee.admin.Admin
This class acts as a convenient Java front-end for the
Manager
class instead of calling the Manager
web service directly.
Constructor Summary | |
Admin()
Create an instance of the Admin |
|
Admin(java.lang.String url)
Create an instance of the Admin with a give
URL where bexee is located. |
Method Summary | |
protected java.lang.String[] |
buildInputArray(java.io.InputStream bpel,
java.io.InputStream wsdl,
java.util.List partnerWSDL)
|
protected org.apache.axis.client.Call |
createCall(java.lang.String operation)
Create Axis call to service. |
java.lang.String |
deploy(java.io.File bpel,
java.io.File wsdl)
Deploy a BPEL business process together with its WSDL. |
java.lang.String |
deploy(java.io.File bpel,
java.io.File wsdl,
java.io.File partnerWSDL)
Deploy a BPEL business process together with its WSDL and one partner WSDL description. |
java.lang.String |
deploy(java.io.File bpel,
java.io.File wsdl,
java.util.List partnerWSDL)
Deploy a BPEL business process together with its WSDL and its partner WSDL descriptions. |
java.lang.String |
deploy(java.io.InputStream bpel,
java.io.InputStream wsdl)
Deploy a BPEL business process together with its WSDL. |
java.lang.String |
deploy(java.io.InputStream bpel,
java.io.InputStream wsdl,
java.io.InputStream partnerWSDL)
Deploys a new BPEL process to bexee. |
java.lang.String |
deploy(java.io.InputStream bpel,
java.io.InputStream wsdl,
java.util.List partnerWSDL)
Deploys a new BPEL process to bexee.This method will invoke the Manager web service and pass it the documents. |
protected java.lang.String |
getString(java.io.InputStream is)
Copies an InputStream into a String . |
java.lang.String |
undeploy(java.lang.String name)
Undeploys an existing service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Admin()
Admin
public Admin(java.lang.String url)
Admin
with a give
URL
where bexee is located.
url
- bexee locationMethod Detail |
public java.lang.String deploy(java.io.File bpel, java.io.File wsdl) throws AdminException
bpel
- BPEL documentwsdl
- WSDL description
AdminException
public java.lang.String deploy(java.io.InputStream bpel, java.io.InputStream wsdl) throws AdminException
bpel
- BPEL document streamwsdl
- WSDL description stream
AdminException
public java.lang.String deploy(java.io.File bpel, java.io.File wsdl, java.io.File partnerWSDL) throws AdminException
bpel
- BPEL documentwsdl
- WSDL descriptionpartnerWSDL
- partner WSDL description
AdminException
public java.lang.String deploy(java.io.File bpel, java.io.File wsdl, java.util.List partnerWSDL) throws AdminException
bpel
- BPEL documentwsdl
- WSDL descriptionpartnerWSDL
- partner WSDL descriptions
AdminException
public java.lang.String deploy(java.io.InputStream bpel, java.io.InputStream wsdl, java.io.InputStream partnerWSDL) throws AdminException
AdminException
deploy(InputStream, InputStream, List)
public java.lang.String deploy(java.io.InputStream bpel, java.io.InputStream wsdl, java.util.List partnerWSDL) throws AdminException
Manager
web service and pass it the documents.
bpel
- wsdl
- partnerWSDL
-
AdminException
public java.lang.String undeploy(java.lang.String name) throws AdminException
name
- the name of the service to be undeployed
AdminException
- if something went wrong{@link Manager}
protected org.apache.axis.client.Call createCall(java.lang.String operation) throws AdminException
Call
object
AdminException
- if the Call
can not be createdprotected java.lang.String[] buildInputArray(java.io.InputStream bpel, java.io.InputStream wsdl, java.util.List partnerWSDL) throws java.io.IOException
java.io.IOException
protected java.lang.String getString(java.io.InputStream is) throws java.io.IOException
InputStream
into a String
.
is
- the InputStream
to be read from.
String
java.io.IOException
- in case of an I/O problem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |