FileDocCategorySizeDatePackage
ServiceOne.javaAPI DocJBoss 4.2.12174Fri Jul 13 20:55:14 BST 2007org.jboss.tutorial.service.bean

ServiceOne

public class ServiceOne extends Object implements ServiceOneLocal, ServiceOneRemote, ServiceOneManagement
author
Kabir Khan
version
$Revision: 57207 $

Fields Summary
int
attribute
Constructors Summary
Methods Summary
public voidcreate()

      System.out.println("ServiceOne - Creating");
   
public voiddestroy()

      System.out.println("ServiceOne - Destroying");
   
public intgetAttribute()

      return this.attribute;
   
public java.lang.StringsayHello()

      return "Hello from service One";
   
public voidsetAttribute(int attribute)

      this.attribute = attribute;
   
public voidstart()

      System.out.println("ServiceOne - Starting");
   
public voidstop()

      System.out.println("ServiceOne - Stopping");