org.apache.activemq.broker.jmx
Class OpenTypeSupport.AbstractOpenTypeFactory

java.lang.Object
  extended by org.apache.activemq.broker.jmx.OpenTypeSupport.AbstractOpenTypeFactory
All Implemented Interfaces:
OpenTypeSupport.OpenTypeFactory
Enclosing class:
OpenTypeSupport

public abstract static class OpenTypeSupport.AbstractOpenTypeFactory
extends Object
implements OpenTypeSupport.OpenTypeFactory


Constructor Summary
OpenTypeSupport.AbstractOpenTypeFactory()
           
 
Method Summary
protected  void addItem(String name, String description, OpenType type)
           
protected  CompositeType createCompositeType()
           
 CompositeType getCompositeType()
           
protected  String getDescription()
           
 Map<String,Object> getFields(Object o)
           
protected abstract  String getTypeName()
           
protected  void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenTypeSupport.AbstractOpenTypeFactory

public OpenTypeSupport.AbstractOpenTypeFactory()
Method Detail

getCompositeType

public CompositeType getCompositeType()
                               throws OpenDataException
Specified by:
getCompositeType in interface OpenTypeSupport.OpenTypeFactory
Throws:
OpenDataException

init

protected void init()
             throws OpenDataException
Throws:
OpenDataException

createCompositeType

protected CompositeType createCompositeType()
                                     throws OpenDataException
Throws:
OpenDataException

getTypeName

protected abstract String getTypeName()

addItem

protected void addItem(String name,
                       String description,
                       OpenType type)

getDescription

protected String getDescription()

getFields

public Map<String,Object> getFields(Object o)
                             throws OpenDataException
Specified by:
getFields in interface OpenTypeSupport.OpenTypeFactory
Throws:
OpenDataException


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.