|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codemonster.surinam.controller.RegisterEntryPointAction
public class RegisterEntryPointAction
This lightweight action object will register a contract.
| Constructor Summary | |
|---|---|
RegisterEntryPointAction()
|
|
| Method Summary | |
|---|---|
void |
apply(ServiceBlock serviceBlock)
This is the primary execution point for all ServiceBlock actions. |
EntryPointBlueprint |
getEntryPointBlueprint()
|
String |
getName()
We want to be able to discern which operation is being performed by subclasses of this object. |
Iterator<ServiceToFieldInjectionPair> |
getRequiredServices()
Get a list of fully qualified Contracts that this action requires. |
void |
injectServices(ServiceBlock serviceBlock)
This callback method is used to inject the ServiceBlock that the action will have access to in order to perform its work. |
void |
setEntryPointBlueprint(EntryPointBlueprint entryPointBlueprint)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegisterEntryPointAction()
| Method Detail |
|---|
public String getName()
getName in interface Actionpublic Iterator<ServiceToFieldInjectionPair> getRequiredServices()
getRequiredServices in interface Actionpublic void injectServices(ServiceBlock serviceBlock)
injectServices in interface ActionserviceBlock - The ServiceBlock that the actions will be given access to.
public void apply(ServiceBlock serviceBlock)
throws MalformedURLException,
ClassNotFoundException
apply in interface ActionserviceBlock - The ServiceBlock that the actions will be given access to.
MalformedURLException - Thrown if one of the classpath segments are malformed.
ClassNotFoundException - Thrown if the FQ class cannot be found on the classpath.public EntryPointBlueprint getEntryPointBlueprint()
public void setEntryPointBlueprint(EntryPointBlueprint entryPointBlueprint)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||