|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
Interface specifying methods used to deploy foundation services from a metadata source.
| Method Summary | |
void |
destroy()
Destroys the metadata source. |
String |
getApplicationServiceDeployment()
Gets the name of the application service deployment. |
MdObjectStore |
getMdObjectStore(boolean isOKToCreate)
Gets the metadata object store. |
String |
getMetadata()
Gets XML formatted metadata. |
Set |
getServiceDeploymentNames()
Gets the set of service deployment names that are to be deployed. |
boolean |
isOKToDestroy()
Determines whether or not it is OK for this source to be destroyed. |
boolean |
isServiceDeploymentDeployable(String applicationServiceDeployment)
Determines whether or not the specified service deployment is deployable. |
boolean |
isServiceDeploymentDeployable(String applicationServiceDeployment,
Tree serviceDeploymentGroup)
Determines whether or not the specified application service deployment's service deployment group is deployable. |
void |
setApplicationServiceDeployment(String softwareComponentName)
Sets the name of the application service deployment. |
void |
setIsOKToClose(boolean isOKToCloseConnection)
Specifies whether or not it is OK for the service loader to close this connection once it no longer needs it. |
| Method Detail |
public String getMetadata()
throws ServiceException
ServiceException - if unable to acquire metadata from the source.public boolean isServiceDeploymentDeployable(String applicationServiceDeployment)
applicationServiceDeployment - An application's foundation services deployment which is represented
using a metadata SoftwareComponent.true if it is OK to deploy this appliation's
service deployment or false if it isn't.
public boolean isServiceDeploymentDeployable(String applicationServiceDeployment,
Tree serviceDeploymentGroup)
applicationServiceDeployment - An application's foundation services deployment which is represented
using a metadata SoftwareComponent.serviceDeploymentGroup - Service deployment group defined under the application's service
deployment.true if it is OK to deploy this service deployment
or false if it isn't.public String getApplicationServiceDeployment()
public void setApplicationServiceDeployment(String softwareComponentName)
softwareComponentName - An application's foundation services deployment which is represented
using a metadata SoftwareComponent.public Set getServiceDeploymentNames()
SoftwareComponent element's Name attribute.
If a set of service deployment names is not currently defined then a set will be lazily instantiated and returned with no elements.
String names of the service deployments that
are to be deployed. Note that this set may not contain any
elements, but it is guaranteed to be non-null.public MdObjectStore getMdObjectStore(boolean isOKToCreate)
isOKToCreate - true if it is OK to create a metadata
object store if one is not currently defined.null if a metadata object
store is not defined.public void setIsOKToClose(boolean isOKToCloseConnection)
isOKToCloseConnection - true if it is OK for the service loader to
close and dispose of this connection once it no longer
needs it or false if this connection is
to be closed somewhere else when its no longer needed.public boolean isOKToDestroy()
true if it is OK to
close and dispose of this connection once it no longer
needs it or false if this connection is
to be closed somewhere else when its no longer needed.public void destroy()
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||