org.jboss.tutorial.service.bean
Class ServiceOne

java.lang.Object
  extended by org.jboss.tutorial.service.bean.ServiceOne
All Implemented Interfaces:
ServiceOneLocal, ServiceOneManagement, ServiceOneRemote

public class ServiceOne
extends java.lang.Object
implements ServiceOneLocal, ServiceOneRemote, ServiceOneManagement


Field Summary
static java.lang.String OBJECT_NAME
          The ObjectName for ServiceOne
 
Constructor Summary
ServiceOne()
           
 
Method Summary
 void create()
           
 void destroy()
           
 int getAttribute()
           
 java.lang.String sayHello()
           
 void setAttribute(int attribute)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_NAME

public static final java.lang.String OBJECT_NAME
The ObjectName for ServiceOne

See Also:
Constant Field Values
Constructor Detail

ServiceOne

public ServiceOne()
Method Detail

setAttribute

public void setAttribute(int attribute)
Specified by:
setAttribute in interface ServiceOneLocal
Specified by:
setAttribute in interface ServiceOneManagement
Specified by:
setAttribute in interface ServiceOneRemote

getAttribute

public int getAttribute()
Specified by:
getAttribute in interface ServiceOneLocal
Specified by:
getAttribute in interface ServiceOneManagement
Specified by:
getAttribute in interface ServiceOneRemote

sayHello

public java.lang.String sayHello()
Specified by:
sayHello in interface ServiceOneManagement

create

public void create()
            throws java.lang.Exception
Specified by:
create in interface ServiceOneManagement
Throws:
java.lang.Exception

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface ServiceOneManagement
Throws:
java.lang.Exception

stop

public void stop()
Specified by:
stop in interface ServiceOneManagement

destroy

public void destroy()
Specified by:
destroy in interface ServiceOneManagement