org.apache.synapse.startup
Class AbstractStartup

java.lang.Object
  extended by org.apache.synapse.startup.AbstractStartup
All Implemented Interfaces:
ManagedLifecycle, Nameable, Startup, SynapseArtifact
Direct Known Subclasses:
SimpleQuartz

public abstract class AbstractStartup
extends Object
implements Startup


Field Summary
protected  String description
          Holds the description of the startup
protected  String fileName
          Holds the name of the file where this startup is defined
protected  String name
          Holds the name of a Startup
 
Constructor Summary
AbstractStartup()
           
 
Method Summary
 String getDescription()
          Gets the description of the startup
 String getFileName()
          Returns the name of the file where this startup is defined
 String getName()
          This will return the name of the startup
 void setDescription(String description)
          Sets the description of the startup
 void setFileName(String fileName)
          Set the name of the file name where this startup is defined
 void setName(String name)
          This will set the name of a Startup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.synapse.Startup
getTagQName
 
Methods inherited from interface org.apache.synapse.ManagedLifecycle
destroy, init
 

Field Detail

name

protected String name
Holds the name of a Startup


fileName

protected String fileName
Holds the name of the file where this startup is defined


description

protected String description
Holds the description of the startup

Constructor Detail

AbstractStartup

public AbstractStartup()
Method Detail

getName

public String getName()
This will return the name of the startup

Specified by:
getName in interface Nameable
Returns:
String representing the name

setName

public void setName(String name)
This will set the name of a Startup

Specified by:
setName in interface Nameable
Parameters:
name - String name to be set to the startup

getFileName

public String getFileName()
Returns the name of the file where this startup is defined

Specified by:
getFileName in interface Startup
Returns:
a file name as a string or null

setFileName

public void setFileName(String fileName)
Set the name of the file name where this startup is defined

Specified by:
setFileName in interface Startup
Parameters:
fileName - the name of the file as a string

getDescription

public String getDescription()
Gets the description of the startup

Specified by:
getDescription in interface SynapseArtifact
Returns:
description of the startup

setDescription

public void setDescription(String description)
Sets the description of the startup

Specified by:
setDescription in interface SynapseArtifact
Parameters:
description - tobe set to the artifact


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.