org.abstracthorizon.extend.server.deployment.service
Class ServiceBean

java.lang.Object
  extended by org.abstracthorizon.extend.server.deployment.service.ServiceBean

public class ServiceBean
extends Object

Definition of service bean.

Author:
Daniel Sendula

Field Summary
protected  Object bean
          Reference to the bean
protected  String beanName
          Bean's name
protected  String createMethodName
          Create method name
protected  String destroyMethodName
          Destroy method name
protected  String startMethodName
          Start method name
protected  String stopMethodName
          Stop mehtod name
 
Constructor Summary
ServiceBean(String beanName)
          Constructor
 
Method Summary
 boolean equals(Object object)
           
 Object getBean()
           
 String getBeanName()
           
 String getCreateMethodName()
           
 String getDestroyMethodName()
           
 String getStartMethodName()
           
 String getStopMethodName()
           
 int hashCode()
           
 void setBean(Object bean)
           
 void setCreateMethodName(String createMethodName)
           
 void setDestroyMethodName(String destroyMethodName)
           
 void setStartMethodName(String startMethodName)
           
 void setStopMethodName(String stopMethodName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanName

protected String beanName
Bean's name


bean

protected Object bean
Reference to the bean


createMethodName

protected String createMethodName
Create method name


startMethodName

protected String startMethodName
Start method name


stopMethodName

protected String stopMethodName
Stop mehtod name


destroyMethodName

protected String destroyMethodName
Destroy method name

Constructor Detail

ServiceBean

public ServiceBean(String beanName)
Constructor

Parameters:
beanName - name of the bean
Method Detail

getCreateMethodName

public String getCreateMethodName()
Returns:
Returns the createMethodName.

setCreateMethodName

public void setCreateMethodName(String createMethodName)
Parameters:
createMethodName - The createMethodName to set.

getStartMethodName

public String getStartMethodName()
Returns:
Returns the startMethodName.

setStartMethodName

public void setStartMethodName(String startMethodName)
Parameters:
startMethodName - The startMethodName to set.

getBean

public Object getBean()
Returns:
Returns the bean.

setBean

public void setBean(Object bean)
Parameters:
bean - The bean.

getBeanName

public String getBeanName()
Returns:
Returns the beanName.

getDestroyMethodName

public String getDestroyMethodName()
Returns:
Returns the destroyMethodName.

setDestroyMethodName

public void setDestroyMethodName(String destroyMethodName)
Parameters:
destroyMethodName - The destroyMethodName to set.

getStopMethodName

public String getStopMethodName()
Returns:
Returns the stopMethodName.

setStopMethodName

public void setStopMethodName(String stopMethodName)
Parameters:
stopMethodName - The stopMethodName to set.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.