|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.dragon.service.technology.TechnologyManagerImpl
public class TechnologyManagerImpl
| Constructor Summary | |
|---|---|
TechnologyManagerImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
addRuntimeManager(java.lang.String address)
Add a new runtime manager to the registry. |
java.util.List<EnvironmentFederationTO> |
getAllEnvironmentFederations(RequestOptionsTO requestOptionsTO)
Return the list of all environment federations in the registry |
java.util.List<ExecutionEnvironmentManagerTO> |
getAllExecutionEnvironmentManagers(RequestOptionsTO requestOptionsTO)
Return the list of all runtime managers (aka Execution Environment Managers) in the registry |
java.util.List<ExecutionEnvironmentTO> |
getAllExecutionEnvironments(RequestOptionsTO requestOptionsTO)
Return the list of all execution environments in the registry |
java.util.List<ProcessorTO> |
getAllProcessors(RequestOptionsTO requestOptionsTO)
Return the list of all processors in the registry |
EnvironmentFederationTO |
getEnvironmentFederation(java.lang.String envFedId)
Retrieve the environment federation matching the given ID |
java.util.List<EndpointTO> |
getEpsHostedOnExecEnv(java.lang.String execEnvId,
RequestOptionsTO requestOptionsTO)
Retrieve the list of endpoints that are hosted by the given execution environment |
java.util.List<EndpointTO> |
getEpsHostedOnProcessor(java.lang.String processorId,
RequestOptionsTO requestOptionsTO)
Retrieve the list of endpoints that are hosted by the given processor. |
java.util.List<ExecutionEnvironmentTO> |
getExecEnvsHostedOnProcessor(java.lang.String processorId,
RequestOptionsTO requestOptionsTO)
Retrieve the list of execution environments that are hosted by the given processor. |
java.util.List<ExecutionEnvironmentTO> |
getExecEnvsInFederation(java.lang.String envFedId,
RequestOptionsTO requestOptionsTO)
Retrieve the list of execution environments that are parts of the given environment federation |
ExecutionEnvironmentTO |
getExecutionEnvironment(java.lang.String execEnvId)
Retrieve the execution environment matching the given ID |
java.util.List<ExecutionEnvironmentTO> |
getManagedExecEnv(java.lang.String runtimeManagerId,
RequestOptionsTO requestOptionsTO)
Retrieve the list of execution environments managed by the given runtime manager (aka execution environment manager) |
ProcessorTO |
getProcessor(java.lang.String processorId)
Retrieve the processor matching the given ID |
ExecutionEnvironmentManagerTO |
getRuntimeManager(java.lang.String arg0)
Retrieve the runtime manager matching the given ID |
void |
removeEnvironmentFederation(java.lang.String envFedId)
Remove the environment federation matching the given ID from the registry |
void |
removeExecutionEnvironment(java.lang.String execEnvId)
Remove the execution environment matching the given ID from the registry |
void |
removeProcessor(java.lang.String processorId)
Remove the processor matching the given ID from the registry |
void |
removeRuntimeManager(java.lang.String runtimeManagerId)
Remove the runtime manager matching the given ID from the registry |
java.util.List<EnvironmentFederationTO> |
searchEnvironmentFederations(java.lang.String searchCriteria,
java.util.List<FederationSearchProperties> searchedProperties,
RequestOptionsTO requestOptionsTO)
Retrieve the list of all environment federations matching the given criteria for the given properties |
java.util.List<ExecutionEnvironmentManagerTO> |
searchExecutionEnvironmentManagers(java.lang.String searchCriteria,
java.util.List<ExecEnvManagerSearchProperties> searchedProperties,
RequestOptionsTO requestOptionsTO)
Retrieve the list of all runtime managers (aka execution environment managers) matching the given criteria for the given properties |
java.util.List<ExecutionEnvironmentTO> |
searchExecutionEnvironments(java.lang.String searchCriteria,
java.util.List<ExecEnvSearchProperties> searchedProperties,
RequestOptionsTO requestOptionsTO)
Retrieve the list of all execution environments matching the given criteria for the given properties |
java.util.List<ProcessorTO> |
searchProcessors(java.lang.String searchCriteria,
java.util.List<ProcessorSearchProperties> searchedProperties,
RequestOptionsTO requestOptionsTO)
Retrieve the list of all processors matching the given criteria for the given properties |
void |
setEndpointUnifiedDAO(GenericUnifiedDAO<Endpoint,java.lang.String> endpointUnifiedDAO)
|
void |
setEnvironmentFederationUnifiedDAO(GenericUnifiedDAO<EnvironmentFederation,java.lang.String> environmentFederationUnifiedDAO)
|
void |
setExecutionEnvironmentManagerFactory(org.apache.cxf.jaxws.JaxWsProxyFactoryBean executionEnvironmentManagerFactory)
|
void |
setExecutionEnvironmentManagerUnifiedDAO(GenericUnifiedDAO<ExecutionEnvironmentManager,java.lang.String> executionEnvironmentManagerUnifiedDAO)
|
void |
setExecutionEnvironmentUnifiedDAO(GenericUnifiedDAO<ExecutionEnvironment,java.lang.String> executionEnvironmentUnifiedDAO)
|
void |
setProcessorUnifiedDAO(GenericUnifiedDAO<Processor,java.lang.String> processorUnifiedDAO)
|
void |
setTechnologyTransferObjectAssembler(TechnologyTransferObjectAssembler technologyTransferObjectAssembler)
|
void |
setTransfertObjectAssembler(TransfertObjectAssembler transfertObjectAssembler)
|
void |
setWsdlManager(WSDLManager wsdlManager)
|
void |
synchronizeManagedExecEnv(java.lang.String runtimeManagerId)
Synchronize all execution environments managed by this execution runtime manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TechnologyManagerImpl()
| Method Detail |
|---|
public java.lang.String addRuntimeManager(java.lang.String address)
throws TechnologyException
TechnologyManager
addRuntimeManager in interface TechnologyManageraddress - a manager service interface address like
'http://com.foo/ManagerService'. Must be a valid URL
TechnologyException - if an error occurs during runtime manager creation
public java.util.List<ExecutionEnvironmentTO> getManagedExecEnv(java.lang.String runtimeManagerId,
RequestOptionsTO requestOptionsTO)
TechnologyManager
getManagedExecEnv in interface TechnologyManagerruntimeManagerId - a runtime manager IDrequestOptionsTO - sort, pagination and case sensitive parameters
List of ExecutionEnvironmentTOs managed by
the given runtime manager (aka
ExecutionEnvironmentManagerTO)
public void synchronizeManagedExecEnv(java.lang.String runtimeManagerId)
throws TechnologyException
TechnologyManager
synchronizeManagedExecEnv in interface TechnologyManagerruntimeManagerId - a runtime manager ID
TechnologyException - if an error occurs during synchronizationpublic void setExecutionEnvironmentManagerUnifiedDAO(GenericUnifiedDAO<ExecutionEnvironmentManager,java.lang.String> executionEnvironmentManagerUnifiedDAO)
public void setExecutionEnvironmentUnifiedDAO(GenericUnifiedDAO<ExecutionEnvironment,java.lang.String> executionEnvironmentUnifiedDAO)
public void setExecutionEnvironmentManagerFactory(org.apache.cxf.jaxws.JaxWsProxyFactoryBean executionEnvironmentManagerFactory)
public void setTransfertObjectAssembler(TransfertObjectAssembler transfertObjectAssembler)
public void setTechnologyTransferObjectAssembler(TechnologyTransferObjectAssembler technologyTransferObjectAssembler)
public ExecutionEnvironmentManagerTO getRuntimeManager(java.lang.String arg0)
TechnologyManager
getRuntimeManager in interface TechnologyManagerarg0 - a runtime manager ID
ExecutionEnvironmentTO (aka runtime manager) matching
the given IDpublic void removeRuntimeManager(java.lang.String runtimeManagerId)
TechnologyManager
removeRuntimeManager in interface TechnologyManagerruntimeManagerId - a runtime manager IDpublic ExecutionEnvironmentTO getExecutionEnvironment(java.lang.String execEnvId)
TechnologyManager
getExecutionEnvironment in interface TechnologyManagerexecEnvId - an execution environment ID
ExecutionEnvironmentTO matching the given IDpublic void removeExecutionEnvironment(java.lang.String execEnvId)
TechnologyManager
removeExecutionEnvironment in interface TechnologyManagerexecEnvId - an execution environment IDpublic void setEndpointUnifiedDAO(GenericUnifiedDAO<Endpoint,java.lang.String> endpointUnifiedDAO)
public void setWsdlManager(WSDLManager wsdlManager)
public java.util.List<ExecutionEnvironmentManagerTO> getAllExecutionEnvironmentManagers(RequestOptionsTO requestOptionsTO)
TechnologyManager
getAllExecutionEnvironmentManagers in interface TechnologyManagerrequestOptionsTO - sort, pagination and case sensitive parameters
List of all runtime managers (aka
ExecutionEnvironmentManagerTO) in the registry
public java.util.List<ExecutionEnvironmentManagerTO> searchExecutionEnvironmentManagers(java.lang.String searchCriteria,
java.util.List<ExecEnvManagerSearchProperties> searchedProperties,
RequestOptionsTO requestOptionsTO)
throws TechnologyException
TechnologyManager
searchExecutionEnvironmentManagers in interface TechnologyManagersearchCriteria - the search criteria (a String containing criteria separated
with whitespaces)searchedProperties - the searched propertiesrequestOptionsTO - sort, pagination and case sensitive parameters
List of all runtime managers (aka
ExecutionEnvironmentManagerTOs) matching the given
criteria for the given properties
TechnologyExceptionpublic java.util.List<ExecutionEnvironmentTO> getAllExecutionEnvironments(RequestOptionsTO requestOptionsTO)
TechnologyManager
getAllExecutionEnvironments in interface TechnologyManagerrequestOptionsTO - sort, pagination and case sensitive parameters
List of all ExecutionEnvironmentTOs in the
registry
public java.util.List<ExecutionEnvironmentTO> searchExecutionEnvironments(java.lang.String searchCriteria,
java.util.List<ExecEnvSearchProperties> searchedProperties,
RequestOptionsTO requestOptionsTO)
throws TechnologyException
TechnologyManager
searchExecutionEnvironments in interface TechnologyManagersearchCriteria - the search criteria (a String containing criteria separated
with whitespaces)searchedProperties - the searched propertiesrequestOptionsTO - sort, pagination and case sensitive parameters
List of all ExecutionEnvironmentTOs matching
the given criteria for the given properties
TechnologyException
public java.util.List<EndpointTO> getEpsHostedOnExecEnv(java.lang.String execEnvId,
RequestOptionsTO requestOptionsTO)
TechnologyManager
getEpsHostedOnExecEnv in interface TechnologyManagerexecEnvId - an execution environment IDrequestOptionsTO - sort, pagination and case sensitive parameters
List of EndpointTOs that are hosted by the
given ExecutionEnvironmentTO
public java.util.List<EndpointTO> getEpsHostedOnProcessor(java.lang.String processorId,
RequestOptionsTO requestOptionsTO)
TechnologyManager
getEpsHostedOnProcessor in interface TechnologyManagerprocessorId - a processor IDrequestOptionsTO - sort, pagination and case sensitive parameters
List of EndpointTOs that are hosted by the
given ProcessorTO
public java.util.List<ExecutionEnvironmentTO> getExecEnvsHostedOnProcessor(java.lang.String processorId,
RequestOptionsTO requestOptionsTO)
TechnologyManager
getExecEnvsHostedOnProcessor in interface TechnologyManagerprocessorId - a processor IDrequestOptionsTO - sort, pagination and case sensitive parameters
List of ExecutionEnvironmentTOs that are
hosted by the given ProcessorTOpublic ProcessorTO getProcessor(java.lang.String processorId)
TechnologyManager
getProcessor in interface TechnologyManagerprocessorId - a processor ID
ProcessorTO matching the given IDpublic void removeProcessor(java.lang.String processorId)
TechnologyManager
removeProcessor in interface TechnologyManagerprocessorId - a processor IDpublic void setProcessorUnifiedDAO(GenericUnifiedDAO<Processor,java.lang.String> processorUnifiedDAO)
public java.util.List<ProcessorTO> getAllProcessors(RequestOptionsTO requestOptionsTO)
TechnologyManager
getAllProcessors in interface TechnologyManagerrequestOptionsTO - sort, pagination and case sensitive parameters
List of all ProcessorTOs in the registry
public java.util.List<ProcessorTO> searchProcessors(java.lang.String searchCriteria,
java.util.List<ProcessorSearchProperties> searchedProperties,
RequestOptionsTO requestOptionsTO)
throws TechnologyException
TechnologyManager
searchProcessors in interface TechnologyManagersearchCriteria - the search criteria (a String containing criteria separated
with whitespaces)searchedProperties - the searched propertiesrequestOptionsTO - sort, pagination and case sensitive parameters
List of all ProcessorTOs matching the given
criteria for the given properties
TechnologyExceptionpublic EnvironmentFederationTO getEnvironmentFederation(java.lang.String envFedId)
TechnologyManager
getEnvironmentFederation in interface TechnologyManagerenvFedId - an environment federation ID
EnvironmentFederationTO matching the given ID
public java.util.List<ExecutionEnvironmentTO> getExecEnvsInFederation(java.lang.String envFedId,
RequestOptionsTO requestOptionsTO)
TechnologyManager
getExecEnvsInFederation in interface TechnologyManagerenvFedId - an environment federation IDrequestOptionsTO - sort, pagination and case sensitive parameters
List of ExecutionEnvironmentTOs that are
parts of the given EnvironmentFederationTOpublic void removeEnvironmentFederation(java.lang.String envFedId)
TechnologyManager
removeEnvironmentFederation in interface TechnologyManagerenvFedId - an environment federation IDpublic void setEnvironmentFederationUnifiedDAO(GenericUnifiedDAO<EnvironmentFederation,java.lang.String> environmentFederationUnifiedDAO)
public java.util.List<EnvironmentFederationTO> getAllEnvironmentFederations(RequestOptionsTO requestOptionsTO)
TechnologyManager
getAllEnvironmentFederations in interface TechnologyManagerrequestOptionsTO - sort, pagination and case sensitive parameters
List of all EnvironmentFederationTOs in the
registry
public java.util.List<EnvironmentFederationTO> searchEnvironmentFederations(java.lang.String searchCriteria,
java.util.List<FederationSearchProperties> searchedProperties,
RequestOptionsTO requestOptionsTO)
throws TechnologyException
TechnologyManager
searchEnvironmentFederations in interface TechnologyManagersearchCriteria - the search criteria (a String containing criteria separated
with whitespaces)searchedProperties - the searched propertiesrequestOptionsTO - sort, pagination and case sensitive parameters
List of all EnvironmentFederationTOs matching
the given criteria for the given properties
TechnologyException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||