@Component(value="cuba_ServerInfoService") public class ServerInfoServiceBean extends java.lang.Object implements ServerInfoService
ServerInfoService
interface.
Annotated with @Component
instead of @Service
to be available before user login.
NAME
Constructor and Description |
---|
ServerInfoServiceBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReleaseNumber() |
java.lang.String |
getReleaseTimestamp() |
long |
getTimeMillis() |
java.util.TimeZone |
getTimeZone()
Return time zone used by server application.
|
View |
getView(java.lang.Class<? extends Entity> entityClass,
java.lang.String name) |
java.util.List<View> |
getViews() |
public java.lang.String getReleaseNumber()
getReleaseNumber
in interface ServerInfoService
public java.lang.String getReleaseTimestamp()
getReleaseTimestamp
in interface ServerInfoService
public java.util.List<View> getViews()
getViews
in interface ServerInfoService
public View getView(java.lang.Class<? extends Entity> entityClass, java.lang.String name)
getView
in interface ServerInfoService
public java.util.TimeZone getTimeZone()
ServerInfoService
getTimeZone
in interface ServerInfoService
public long getTimeMillis()
getTimeMillis
in interface ServerInfoService