org.jboss.deployers.client.plugins.deployment
Class AbstractDeployment

java.lang.Object
  extended by org.jboss.deployers.spi.attachments.helpers.PredeterminedManagedObjectAttachmentsImpl
      extended by org.jboss.deployers.client.plugins.deployment.AbstractDeployment
All Implemented Interfaces:
Externalizable, Serializable, Deployment, PredeterminedManagedObjectAttachments
Direct Known Subclasses:
AbstractVFSDeployment

public class AbstractDeployment
extends PredeterminedManagedObjectAttachmentsImpl
implements Deployment

AbstractDeployment.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
AbstractDeployment()
          Create a new AbstractDeployment.
AbstractDeployment(String name)
          Create a new AbstractDeployment.
 
Method Summary
 String getName()
          Get the name.
 String getSimpleName()
          Get the simple name.
 Set<String> getTypes()
          Deprecated. 
 void readExternal(ObjectInput in)
           
 void setName(String name)
          Set the name.
 void setTypes(Set<String> types)
          Deprecated. 
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.jboss.deployers.spi.attachments.helpers.PredeterminedManagedObjectAttachmentsImpl
getPredeterminedManagedObjects, setPredeterminedManagedObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.deployers.spi.attachments.PredeterminedManagedObjectAttachments
getPredeterminedManagedObjects, setPredeterminedManagedObjects
 

Constructor Detail

AbstractDeployment

public AbstractDeployment()
Create a new AbstractDeployment.


AbstractDeployment

public AbstractDeployment(String name)
Create a new AbstractDeployment.

Parameters:
name - the name of the deployment
Throws:
IllegalArgumentException - for a null name
Method Detail

getName

public String getName()
Get the name.

Specified by:
getName in interface Deployment
Returns:
the name.

getSimpleName

public String getSimpleName()
Get the simple name.

Specified by:
getSimpleName in interface Deployment
Returns:
the name.

setName

public void setName(String name)
Set the name.

Parameters:
name - the name.
Throws:
IllegalArgumentException - for a null name

getTypes

@Deprecated
public Set<String> getTypes()
Deprecated. 

Description copied from interface: Deployment
Get the types.

Specified by:
getTypes in interface Deployment
Returns:
the types.

setTypes

@Deprecated
public void setTypes(Set<String> types)
Deprecated. 

Description copied from interface: Deployment
Set the types.

Specified by:
setTypes in interface Deployment
Parameters:
types - the types.

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class PredeterminedManagedObjectAttachmentsImpl
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class PredeterminedManagedObjectAttachmentsImpl
Parameters:
out - the output
Throws:
IOException - for any error


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.