站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

PersistentServiceExample (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.jmx.examples.persistence
Class PersistentServiceExample

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.jmx.examples.persistence.PersistentServiceExample
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, PersistentServiceExampleMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class PersistentServiceExample
extends org.jboss.system.ServiceMBeanSupport
implements PersistentServiceExampleMBean

PersistentServiceExample. Demonstrates the usage of XMBean attribute persistence.

Version:
$Revision: 1.2 $
Author:
Dimitris Andreadis

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
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
 
Constructor Summary
PersistentServiceExample()
          Constructs a PersistentServiceExample.
 
Method Summary
 ArrayList getSomeArrayList()
           
 BigDecimal getSomeBigDecimal()
           
 Element getSomeElement()
           
 FileDescriptor getSomeFileDescriptor()
           
 int getSomeInt()
           
 Integer getSomeInteger()
           
 Object getSomeNullObject()
           
 String getSomeString()
           
 Timestamp getSomeTimestamp()
           
 boolean isSomeBoolean()
           
 void setSomeArrayList(ArrayList someArrayList)
           
 void setSomeBigDecimal(BigDecimal someBigDecimal)
           
 void setSomeBoolean(boolean someBoolean)
           
 void setSomeElement(Element someElement)
           
 void setSomeFileDescriptor(FileDescriptor someFileDescriptor)
           
 void setSomeInt(int someInt)
           
 void setSomeInteger(Integer someInteger)
           
 void setSomeNullObject(Object someNullObject)
           
 void setSomeString(String someString)
           
 void setSomeTimestamp(Timestamp someTimestamp)
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

PersistentServiceExample

public PersistentServiceExample()
Constructs a PersistentServiceExample.

Method Detail

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 © 2002 JBoss Group, LLC. All Rights Reserved.