|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nim.NiMKernel
public final class NiMKernel
This class is the factory of all kernel services running the JVM. Kernel services provide the actual implementations for all public methods of the NiM interface. This class is responsible for instantiating and initializing the services described in the nim descriptor file.
Field Summary |
---|
Method Summary | |
---|---|
boolean |
checkEarliestVersion(java.lang.String checkValue)
Validates the NiM's current version number is bigger or equals to the number specified in checkValue parameter. |
boolean |
checkExpiryDate(java.lang.String expiryDate)
Validates the expiryDate of NiM. |
boolean |
checkHostName(java.lang.String hostName)
Validates the HostName of the host NiM is running on. |
boolean |
checkIP(java.lang.String ip)
Validates the IP of the host NiM is running on. |
boolean |
checkLatestVersion(java.lang.String checkValue)
Validates the NiM's current version number is smaller or equals to the number specified in checkValue parameter. |
java.lang.String |
getApplicationId()
This method returns the identifier associated to the running NiM application. |
AuthenticationService |
getAuthenticationService()
This method returns the reference to the Authentication Service used by the NiM environment to authenticate entities in the system. |
BrandService |
getBrandService()
This method returns the reference to the Brand Service that provides access to brands and applications configured in this installation. |
ClassLoaderService |
getClassLoaderService()
This method returns the reference to the Class Loader Service used by the NiM environment. |
ConfigurationService |
getConfigurationService()
This method returns the reference to the Configuration Service used by the NiM environment. |
DataControlService |
getDataControlService()
This method returns the reference to the DataControl Service used by the NiM environment to instantiate entity data controls. |
EntitlementService |
getEntitlementService()
This method returns the reference to the Entitlement Service used by the NiM environment to check entity entitlements. |
EntityService |
getEntityService()
This method returns the reference to the Entity Service used by the NiM environment to instantiate and authenticate entities. |
java.lang.String |
getEnvironmentId()
This method returns the identifier associated to the environment where the running NiM application has been deployed as specified in the NiMDescriptor.xml. |
EventMonitorService |
getEventMonitorService()
This method returns the reference to the EventMonitor Service used by the NiM environement to log application level events. |
protected static NiMKernel |
getInstance()
This method returns the instance of the NiMKernel in the running JVM. |
LogService |
getLogService()
This method returns the reference to the Logging Service used by the NiM environment. |
java.lang.String |
getNodeId()
This method returns the node identifier where the NiM application has been deployed. |
NotificationService |
getNotificationService()
This method returns the reference to the Notification Service that sends out notifications to internal and external users. |
NuggetService |
getNuggetService()
This method returns the reference to the Nugget Service used by the NiM environment to load Nuggets. |
NiMKernelService |
getOptionalService(java.lang.String serviceName)
This method returns the reference to the optional kernel service that matches the given service name. |
ProvisionService |
getProvisionService()
This method returns the reference to the Provision Service that provision and deprovision entities. |
java.lang.String |
getRevisionId()
This method returns the revision identifier of the running NiM application. |
UniqueIdService |
getUniqueIdService()
This method returns the reference to the Unique Id Service that generates unique id. |
boolean |
hasLicenseToLoadNugget(java.lang.String s)
This method is used by the NiMKernel to check if the NiM application has the license to load the given Nugget. |
protected void |
initLicensing()
|
protected static boolean |
isCoreService(java.lang.String serviceName)
Check if the specified service name is a core service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected static final NiMKernel getInstance()
public final java.lang.String getApplicationId()
public final java.lang.String getEnvironmentId()
public final java.lang.String getNodeId()
public final java.lang.String getRevisionId()
public final AuthenticationService getAuthenticationService()
public final ClassLoaderService getClassLoaderService()
public final ConfigurationService getConfigurationService()
public final DataControlService getDataControlService()
public final EntityService getEntityService()
public final EntitlementService getEntitlementService()
public final EventMonitorService getEventMonitorService()
public final LogService getLogService()
public final NuggetService getNuggetService()
public final ProvisionService getProvisionService() throws NiMException
NiMException
public final UniqueIdService getUniqueIdService()
public final NotificationService getNotificationService()
public final BrandService getBrandService()
public final NiMKernelService getOptionalService(java.lang.String serviceName)
serviceName
- The name of the optional kernel service.
protected static final boolean isCoreService(java.lang.String serviceName)
protected void initLicensing() throws NiMRuntimeException
NiMRuntimeException
public boolean hasLicenseToLoadNugget(java.lang.String s)
s
- nugget class name to load.
public boolean checkIP(java.lang.String ip)
ip
- String representation of valid IP in License.
public boolean checkHostName(java.lang.String hostName)
hostName
- String representation of valid HostName in License.
public boolean checkExpiryDate(java.lang.String expiryDate)
expiryDate
- String representation of NiM expiry date in License.
public boolean checkEarliestVersion(java.lang.String checkValue)
checkValue
- A string representspublic boolean checkLatestVersion(java.lang.String checkValue)
checkValue
- A string represents
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.