public abstract class PlaceConfig extends SimpleStreamableObject
The place config object is also the mechanism used to instantiate the
appropriate place manager and controller. Every place must have an
associated place config derived class that overrides createController() and getManagerClassName(), returning the
appropriate place controller and manager class for that place.
Streamable.Closure| Constructor and Description |
|---|
PlaceConfig() |
| Modifier and Type | Method and Description |
|---|---|
PlaceController |
createController()
Create the controller that should be used for this place.
|
Class<?> |
getControllerClass()
Deprecated.
Override
createController() directly. |
abstract String |
getManagerClassName()
Returns the name of the class that should be used to create a manager
for this place.
|
toString@Deprecated public Class<?> getControllerClass()
createController() directly.PlaceController.public PlaceController createController()
public abstract String getManagerClassName()
PlaceManager. Note: this method
differs from createController() because we want to avoid compile
time linkage of the place config object (which is used on the client) to
server code. This allows a code optimizer (DashO Pro, for example) to
remove the server code from the client, knowing that it is never used.Copyright © 2015. All rights reserved.