org.jboss.managed.api
Class ComponentType

java.lang.Object
  extended by org.jboss.managed.api.ComponentType
All Implemented Interfaces:
Serializable

public class ComponentType
extends Object
implements Serializable

A simple type/subtype key for a ManagedComponent. Example type/subtypes include: DataSource/{XA,LocalTx,NoTX}, JMSDestination/{Queue,Topic}, EJB/{StatelessSession,StatefulSession,Entity,MDB}, MBean/{Standard,XMBean,Dynamic}, ...

Version:
$Revision: 64275 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
ComponentType()
           
ComponentType(String type, String subtype)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getSubtype()
           
 String getType()
           
 int hashCode()
           
 void setSubtype(String subtype)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentType

public ComponentType()

ComponentType

public ComponentType(String type,
                     String subtype)
Method Detail

getType

public String getType()

setType

public void setType(String type)

getSubtype

public String getSubtype()

setSubtype

public void setSubtype(String subtype)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


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