|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.dir.master.stubs.FactoryCall
public class FactoryCall
Specialises GCUBEStagingServiceHandler
to interactions with the DIR Master service.
Nested Class Summary | |
---|---|
static class |
FactoryCall.ServiceClient
Extends GCUBEServiceClientImpl to serve as a cache of endpoints to the RIs of the Master service. |
Constructor Summary | |
---|---|
FactoryCall(GCUBEScope scope,
GCUBESecurityManager... securityManager)
Creates an instance from a GCUBEScope and a GCUBESecurityManager . |
|
FactoryCall(GCUBEScopeManager scopeManager,
GCUBESecurityManager... securityManager)
Creates an instance from a GCUBEScopeManager and a GCUBESecurityManager . |
Method Summary | |
---|---|
org.apache.axis.message.addressing.EndpointReferenceType |
createMaster(java.lang.String... collectionIDs)
Creates a Master WR-Resource for zero or more collection identifiers. |
void |
deployPlugin(java.io.InputStream stream,
java.lang.String RSserviceEpr)
Deploys a service plugin available from a stream. |
void |
deployPlugin(java.net.URL url)
Deploys a service plugin available at a given URL. |
java.util.List<org.apache.axis.message.addressing.EndpointReferenceType> |
findInstances()
|
void |
setEPR(org.apache.axis.message.addressing.EndpointReferenceType epr)
Sets a specific endpoint as the target of the call. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FactoryCall(GCUBEScopeManager scopeManager, GCUBESecurityManager... securityManager) throws java.lang.Exception
GCUBEScopeManager
and a GCUBESecurityManager
.
scopeManager
- the scope manager.securityManager
- the security manager.
java.lang.Exception
- if the handler could not be created.public FactoryCall(GCUBEScope scope, GCUBESecurityManager... securityManager) throws java.lang.Exception
GCUBEScope
and a GCUBESecurityManager
.
scope
- the scope.securityManager
- the security manager
java.lang.Exception
- if the handler could not be created.Method Detail |
---|
public org.apache.axis.message.addressing.EndpointReferenceType createMaster(java.lang.String... collectionIDs) throws GCUBEException, java.lang.Exception, java.lang.IllegalArgumentException
collectionIDs
- the identifiers.
java.lang.Exception
- if the call failed due to a local error.
GCUBEException
- if call failed due to remote error.
java.lang.IllegalArgumentException
- if invoked with a null
input.public void setEPR(org.apache.axis.message.addressing.EndpointReferenceType epr)
epr
- the endpoint.public void deployPlugin(java.net.URL url) throws GCUBEException, java.lang.Exception
url
- the URL.
java.lang.Exception
- if the call failed due to a local error.
GCUBEException
- if call failed due to remote error.public void deployPlugin(java.io.InputStream stream, java.lang.String RSserviceEpr) throws GCUBEException, java.lang.Exception
stream
- the stream.
java.lang.Exception
- if the call failed due to a local error.
GCUBEException
- if call failed due to remote error.public java.util.List<org.apache.axis.message.addressing.EndpointReferenceType> findInstances() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |