org.sakaiproject.component.test.components
Class Component3

java.lang.Object
  extended byorg.sakaiproject.component.test.components.Component3
All Implemented Interfaces:
Api3

public class Component3
extends Object
implements Api3

Example manager API implementation component.

Version:
$Revision: 632 $
Author:
University of Michigan, Sakai Software Development Team

Field Summary
protected  int m_counter
          A counter.
 
Constructor Summary
Component3()
           
 
Method Summary
 void destroy()
           
 void init()
          Final initialization, once all dependencies are set.
 String method()
          A method.
 void setApi5(Api5 value)
          Dependency.
 void setValue(String value)
          Configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_counter

protected int m_counter
A counter.

Constructor Detail

Component3

public Component3()
Method Detail

setValue

public void setValue(String value)
Configure

Parameters:
value - .The configuration value.

setApi5

public void setApi5(Api5 value)
Dependency.

Parameters:
value - The Api5 value.

init

public void init()
Final initialization, once all dependencies are set.


destroy

public void destroy()

method

public String method()
Description copied from interface: Api3
A method.

Specified by:
method in interface Api3
Returns:
Some string.