|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.on.common.jbossas.AbstractJBossASContentFacetDelegate
public abstract class AbstractJBossASContentFacetDelegate
This is a base class for the ContentFacet implementation delegates for JBoss AS plugins. Much of the implementation is the same for both the AS 4 and AS5 and is implemented here. Subclasses (used in the server component implementations) specialize for the specific requirements of the different JBoss AS versions.
| Field Summary | |
|---|---|
static String |
PACKAGE_TYPE_LIBRARY
|
static String |
PACKAGE_TYPE_PATCH
|
| Constructor Summary | |
|---|---|
protected |
AbstractJBossASContentFacetDelegate(JBPMWorkflowManager workflowManager)
|
| Method Summary | |
|---|---|
org.rhq.core.domain.content.transfer.DeployPackagesResponse |
deployPackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages,
ContentServices contentServices)
This default implementation supports deploying a single patch. |
Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> |
discoverDeployedPackages(org.rhq.core.domain.content.PackageType type)
The default implementation of this method merely throws an unsupported operation exception. |
List<org.rhq.core.domain.content.transfer.DeployPackageStep> |
generateInstallationSteps(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
|
protected JBPMWorkflowManager |
getWorkflowManager()
|
org.rhq.core.domain.content.transfer.RemovePackagesResponse |
removePackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages)
The default implementation of this method merely throws an unsupported operation exception. |
InputStream |
retrievePackageBits(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
The default implementation of this method merely throws an unsupported operation exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PACKAGE_TYPE_PATCH
public static final String PACKAGE_TYPE_LIBRARY
| Constructor Detail |
|---|
protected AbstractJBossASContentFacetDelegate(JBPMWorkflowManager workflowManager)
| Method Detail |
|---|
public org.rhq.core.domain.content.transfer.DeployPackagesResponse deployPackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages,
ContentServices contentServices)
PACKAGE_TYPE_PATCH.
Packages of type PACKAGE_TYPE_LIBRARY are unsupported, all other package types
are silently ignored.
deployPackages in interface ContentFacetUnsupportedOperationException - if the packages set contains a package of type PACKAGE_TYPE_LIBRARYpublic Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> discoverDeployedPackages(org.rhq.core.domain.content.PackageType type)
discoverDeployedPackages in interface ContentFacetUnsupportedOperationExceptionContentFacet.discoverDeployedPackages(PackageType)public List<org.rhq.core.domain.content.transfer.DeployPackageStep> generateInstallationSteps(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
generateInstallationSteps in interface ContentFacetpublic org.rhq.core.domain.content.transfer.RemovePackagesResponse removePackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages)
removePackages in interface ContentFacetUnsupportedOperationExceptionContentFacet.removePackages(Set)public InputStream retrievePackageBits(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
retrievePackageBits in interface ContentFacetUnsupportedOperationExceptionContentFacet.retrievePackageBits(ResourcePackageDetails)protected JBPMWorkflowManager getWorkflowManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||