org.jboss.deployers.plugins.managed
Class TypedManagedDeploymentCreator
java.lang.Object
org.jboss.deployers.plugins.managed.TypedManagedDeploymentCreator
- All Implemented Interfaces:
- org.jboss.deployers.spi.deployer.managed.ManagedDeploymentCreator
public class TypedManagedDeploymentCreator
- extends Object
- implements org.jboss.deployers.spi.deployer.managed.ManagedDeploymentCreator
A ManagedDeploymentCreator that looks for KnownDeploymentTypes
attachments and maps those to the ManagedDeployment.getTypes()
set.
This also does attachment type mapping based on the registered attachment
type class to deployment type mapping.
- Version:
- $Revision: 87672 $
- Author:
- Scott.Stark@jboss.org
- See Also:
#addAttachmentType(Class, String)}
Method Summary |
void |
addAttachmentType(Class attachmentType,
String deploymentType)
|
void |
addVersionedAttachmentType(Class attachmentType,
String deploymentType,
String versionPattern)
|
void |
addVersionedAttachmentType(Class attachmentType,
String deploymentType,
String versionPattern,
String versionGetterName)
|
org.jboss.managed.api.ManagedDeployment |
build(org.jboss.deployers.structure.spi.DeploymentUnit unit,
Map<String,org.jboss.managed.api.ManagedObject> unitMOs,
org.jboss.managed.api.ManagedDeployment parent)
|
static void |
main(String[] args)
|
void |
removeAttachmentType(Class attachmentType)
|
void |
removeVersionedAttachmentType(Class attachmentType,
String deploymentType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypedManagedDeploymentCreator
public TypedManagedDeploymentCreator()
build
public org.jboss.managed.api.ManagedDeployment build(org.jboss.deployers.structure.spi.DeploymentUnit unit,
Map<String,org.jboss.managed.api.ManagedObject> unitMOs,
org.jboss.managed.api.ManagedDeployment parent)
- Specified by:
build
in interface org.jboss.deployers.spi.deployer.managed.ManagedDeploymentCreator
addAttachmentType
public void addAttachmentType(Class attachmentType,
String deploymentType)
- Parameters:
attachmentType
- deploymentType
-
addVersionedAttachmentType
public void addVersionedAttachmentType(Class attachmentType,
String deploymentType,
String versionPattern)
addVersionedAttachmentType
public void addVersionedAttachmentType(Class attachmentType,
String deploymentType,
String versionPattern,
String versionGetterName)
removeAttachmentType
public void removeAttachmentType(Class attachmentType)
removeVersionedAttachmentType
public void removeVersionedAttachmentType(Class attachmentType,
String deploymentType)
main
public static void main(String[] args)
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.