java.lang.Object
org.tentackle.persist.wurblet.RemoteIncludes
Handles generated remote interface and implementation code.
Creates the RMI-java files from freemarker templates, if missing.
- Author:
- harald
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteIncludes(org.tentackle.wurblet.ModelWurblet wurblet) Create remote includes. -
Method Summary
Modifier and TypeMethodDescriptionvoiddiscard()Marks the heap files as discarded.
Such files should not be used to generate code because their contents are incomplete because of former errors.Gets the print stream of the remote implementation.Gets the print stream of the remote interface.
-
Constructor Details
-
RemoteIncludes
public RemoteIncludes(org.tentackle.wurblet.ModelWurblet wurblet) throws org.wurbelizer.wurbel.WurbelException Create remote includes.- Parameters:
wurblet- the wurblet- Throws:
org.wurbelizer.wurbel.WurbelException- if failed
-
-
Method Details
-
discard
public void discard()Marks the heap files as discarded.
Such files should not be used to generate code because their contents are incomplete because of former errors. Wurblets reading this file should throw aWurbelDiscardException. -
getInterfaceStream
Gets the print stream of the remote interface.- Returns:
- get the remote stream
-
getImplementationStream
Gets the print stream of the remote implementation.- Returns:
- the impl stream
-