|
SOAj Consolidated |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.soaj.core.plugin.SjBasePlugin
info.soaj.world.plugin.SjAbstractPluginHelloWorld
info.soaj.world.plugin.SjPluginWorld
public class SjPluginWorld
This SOAj plugin supports 'hello worlding'.
See SjBasePlugin for plugin pattern details.
Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com .
| Field Summary | |
|---|---|
private static java.lang.String |
CLASS_NAME
Class name. |
private static long |
serialVersionUID
UID |
| Constructor Summary | |
|---|---|
SjPluginWorld(SjPopulatedPluginKey populatedPluginKey)
Constructor - protected |
|
| Method Summary | |
|---|---|
SjBaseMetadata |
createPluginMetadataCB()
This method |
java.lang.String |
echo()
This method returns text defined in a descriptor document. |
boolean |
echo(java.lang.String greeting)
This method returns the text defined in the parameter. |
void |
throwException()
This method throws an exception. |
boolean |
verifyCB()
This callback method is invoked exactly once upon application server startup AFTER the initCB() methods complete successfully for
ALL plugins. |
| Methods inherited from class info.soaj.core.plugin.SjBasePlugin |
|---|
getPluginMetadata, getPluginProperties, getPopulatedPluginKey, initCB |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private static final java.lang.String CLASS_NAME
| Constructor Detail |
|---|
public SjPluginWorld(SjPopulatedPluginKey populatedPluginKey)
The SOAj plugin pattern enforces instantiation of a plugin via the General Store. Concrete class constructors should be coded as 'protected'.
populatedPluginKey - The 'Key' defined in the descriptor document.| Method Detail |
|---|
public SjBaseMetadata createPluginMetadataCB()
SjBasePlugin
createPluginMetadataCB in class SjBasePluginSjBasePlugin.createPluginMetadataCB()public boolean verifyCB()
initCB() methods complete successfully for
ALL plugins. This method provides an opportunity for a onetime execution
of verification logic to ensure the integrity (or fitness) of a plugin
for use. As an example, a sophisticated implementation might fire all of
the plugin methods (perhaps using mock objects) to ensure the plugin is
100% operational.
verifyCB in class SjAbstractPluginHelloWorldpublic boolean echo(java.lang.String greeting)
SjAbstractPluginHelloWorld
echo in class SjAbstractPluginHelloWorldgreeting -
SjAbstractPluginHelloWorld.echo(String
greeting)public java.lang.String echo()
SjAbstractPluginHelloWorld
echo in class SjAbstractPluginHelloWorldSjAbstractPluginHelloWorld.echo()public void throwException()
SjAbstractPluginHelloWorld
throwException in class SjAbstractPluginHelloWorldSjAbstractPluginHelloWorld.throwException()
|
SOAj Consolidated |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.