org.jboss.jmx.examples.persistence
Class PersistentServiceExample
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.jmx.examples.persistence.PersistentServiceExample
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, PersistentServiceExampleMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean
public class PersistentServiceExample
- extends ServiceMBeanSupport
- implements PersistentServiceExampleMBean
PersistentServiceExample.
Demonstrates the usage of XMBean attribute persistence.
- Version:
- $Revision: 81038 $
- Author:
- Dimitris Andreadis
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, startService, stop, stopService, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentServiceExample
public PersistentServiceExample()
- Constructs a PersistentServiceExample.
getSomeBigDecimal
public BigDecimal getSomeBigDecimal()
- Specified by:
getSomeBigDecimal
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someBigDecimal.
setSomeBigDecimal
public void setSomeBigDecimal(BigDecimal someBigDecimal)
- Specified by:
setSomeBigDecimal
in interface PersistentServiceExampleMBean
- Parameters:
someBigDecimal
- The someBigDecimal to set.
isSomeBoolean
public boolean isSomeBoolean()
- Specified by:
isSomeBoolean
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someBoolean.
setSomeBoolean
public void setSomeBoolean(boolean someBoolean)
- Specified by:
setSomeBoolean
in interface PersistentServiceExampleMBean
- Parameters:
someBoolean
- The someBoolean to set.
getSomeElement
public Element getSomeElement()
- Specified by:
getSomeElement
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someElement.
setSomeElement
public void setSomeElement(Element someElement)
- Specified by:
setSomeElement
in interface PersistentServiceExampleMBean
- Parameters:
someElement
- The someElement to set.
getSomeFileDescriptor
public FileDescriptor getSomeFileDescriptor()
- Specified by:
getSomeFileDescriptor
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someFileDescriptor.
setSomeFileDescriptor
public void setSomeFileDescriptor(FileDescriptor someFileDescriptor)
- Specified by:
setSomeFileDescriptor
in interface PersistentServiceExampleMBean
- Parameters:
someFileDescriptor
- The someFileDescriptor to set.
getSomeInt
public int getSomeInt()
- Specified by:
getSomeInt
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someInt.
setSomeInt
public void setSomeInt(int someInt)
- Specified by:
setSomeInt
in interface PersistentServiceExampleMBean
- Parameters:
someInt
- The someInt to set.
getSomeInteger
public Integer getSomeInteger()
- Specified by:
getSomeInteger
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someInteger.
setSomeInteger
public void setSomeInteger(Integer someInteger)
- Specified by:
setSomeInteger
in interface PersistentServiceExampleMBean
- Parameters:
someInteger
- The someInteger to set.
getSomeString
public String getSomeString()
- Specified by:
getSomeString
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someString.
setSomeString
public void setSomeString(String someString)
- Specified by:
setSomeString
in interface PersistentServiceExampleMBean
- Parameters:
someString
- The someString to set.
getSomeTimestamp
public Timestamp getSomeTimestamp()
- Specified by:
getSomeTimestamp
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someTimestamp.
setSomeTimestamp
public void setSomeTimestamp(Timestamp someTimestamp)
- Specified by:
setSomeTimestamp
in interface PersistentServiceExampleMBean
- Parameters:
someTimestamp
- The someTimestamp to set.
getSomeNullObject
public Object getSomeNullObject()
- Specified by:
getSomeNullObject
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someNullObject.
setSomeNullObject
public void setSomeNullObject(Object someNullObject)
- Specified by:
setSomeNullObject
in interface PersistentServiceExampleMBean
- Parameters:
someNullObject
- The someNullObject to set.
getSomeArrayList
public ArrayList getSomeArrayList()
- Specified by:
getSomeArrayList
in interface PersistentServiceExampleMBean
- Returns:
- Returns the someArrayList.
setSomeArrayList
public void setSomeArrayList(ArrayList someArrayList)
- Specified by:
setSomeArrayList
in interface PersistentServiceExampleMBean
- Parameters:
someArrayList
- The someArrayList to set.
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.