|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.admin.server.AbstractAdminImpl
public class AbstractAdminImpl
Field Summary | |
---|---|
protected ServerAdminImpl |
parent
|
protected ClusteredRegistryState |
registry
|
Constructor Summary | |
---|---|
AbstractAdminImpl(ServerAdminImpl parent,
ClusteredRegistryState registry)
|
Method Summary | |
---|---|
protected java.util.Collection |
convertPropertyDefinitions(ComponentObject component)
Convert a ComponentObject into a Collection of com.metamatrix.admin.api.objects.PropertyDefinition objects |
protected java.util.Collection |
convertPropertyDefinitions(ComponentObject component,
java.util.Properties properties)
|
protected java.util.Collection |
convertPropertyDefinitions(ComponentType ctype,
java.util.Properties properties)
|
protected VDB |
convertToAdminVDB(VirtualDatabase virtualDatabase)
Utility method the converts a VirtualDatabase into an admin VDB object. |
protected java.util.Collection |
getAdminObjects(java.lang.String identifier,
java.lang.String className)
Get admin objects of the specified className that match the specified identifier. |
protected AuthorizationServiceInterface |
getAuthorizationServiceProxy()
|
protected ConfigurationModelContainer |
getConfigurationModel()
|
protected ConfigurationServiceInterface |
getConfigurationServiceProxy()
|
protected java.lang.String |
getConnectorBindingNameFromUUID(java.lang.String uuid)
|
protected java.util.List |
getConnectorBindingNamesFromUUIDs(java.util.List uuids)
|
protected java.util.List |
getConnectorBindingNamesFromUUIDs(java.util.List uuids,
ConfigurationModelContainer configModel)
|
protected java.util.Map |
getConnectorBindingNamesMapFromUUIDs(java.util.Collection uuids)
|
protected ExtensionModuleManager |
getExtensionSourceManager()
|
protected MembershipServiceInterface |
getMembershipServiceProxy()
|
protected java.lang.String |
getName(java.lang.String identifier)
Get the Node Name for this Identifier |
protected java.lang.String |
getParent(java.lang.String identifier)
Get the Parent Name for this Identifier |
protected QueryServiceInterface |
getQueryServiceProxy()
|
protected RuntimeStateAdminAPIHelper |
getRuntimeStateAdminAPIHelper()
|
protected MetaMatrixSessionID |
getSessionID()
Get The MetaMatrixSessionID for this Connection |
protected SessionServiceInterface |
getSessionServiceProxy()
|
protected java.lang.String |
getUserName()
Get The User Name for this Connection |
protected java.util.List |
getVDBs(java.lang.String identifier,
java.util.Collection virtualDatabases)
Utility method to find VDBs in virtualDatabases collection matching identifier and create VDB admin objects to return in sorted collection (VDBs and versions will be together). |
protected static boolean |
identifierMatches(java.lang.String query,
java.lang.String identifier)
Returns true if identifierPartsArray contains all the parts of query , in order. |
static boolean |
identifierMatches(java.lang.String query,
java.lang.String[] identifierPartsArray)
Returns true if identifierPartsArray contains all the parts of query , in order. |
protected void |
logDetail(java.lang.String key,
java.lang.Object[] params)
Log a localized message. |
protected void |
shutDownConnectorBinding(MMConnectorBinding binding,
boolean stopNow)
|
protected void |
throwProcessingException(java.lang.String key,
java.lang.Object[] objects)
Throw a processing exception with a localized message. |
protected SessionToken |
validateSession()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ServerAdminImpl parent
protected ClusteredRegistryState registry
Constructor Detail |
---|
public AbstractAdminImpl(ServerAdminImpl parent, ClusteredRegistryState registry)
Method Detail |
---|
protected java.lang.String getParent(java.lang.String identifier)
identifier
-
protected java.lang.String getName(java.lang.String identifier)
identifier
-
protected java.lang.String getUserName()
protected MetaMatrixSessionID getSessionID()
MetaMatrixSessionID
for this Connection
protected SessionToken validateSession()
protected void throwProcessingException(java.lang.String key, java.lang.Object[] objects) throws AdminException
key
- Key of message in i18n.properties file.objects
- Objects to substitute into message.
AdminException
protected void logDetail(java.lang.String key, java.lang.Object[] params)
key
- Key of message in i18n.properties file.params
- Objects to substitute into message.protected SessionServiceInterface getSessionServiceProxy() throws ServiceException
ServiceException
protected MembershipServiceInterface getMembershipServiceProxy() throws ServiceException
ServiceException
protected AuthorizationServiceInterface getAuthorizationServiceProxy() throws ServiceException
ServiceException
protected ConfigurationServiceInterface getConfigurationServiceProxy() throws ServiceException
ServiceException
protected QueryServiceInterface getQueryServiceProxy() throws ServiceException
ServiceException
protected ExtensionModuleManager getExtensionSourceManager()
protected RuntimeStateAdminAPIHelper getRuntimeStateAdminAPIHelper() throws ServiceException
ServiceException
public static boolean identifierMatches(java.lang.String query, java.lang.String[] identifierPartsArray)
identifierPartsArray
contains all the parts of query
, in order.
query
- identifierPartsArray
-
protected static boolean identifierMatches(java.lang.String query, java.lang.String identifier)
identifierPartsArray
contains all the parts of query
, in order.
query
- identifier
-
protected VDB convertToAdminVDB(VirtualDatabase virtualDatabase) throws AdminException
newVDB
-
AdminException
protected java.util.List getVDBs(java.lang.String identifier, java.util.Collection virtualDatabases) throws AdminException
identifier
- virtualDatabases
-
VDB
s matching identifier or empty collection.
AdminException
protected java.lang.String getConnectorBindingNameFromUUID(java.lang.String uuid) throws ConfigurationException
ConfigurationException
protected java.util.List getConnectorBindingNamesFromUUIDs(java.util.List uuids, ConfigurationModelContainer configModel)
protected java.util.List getConnectorBindingNamesFromUUIDs(java.util.List uuids) throws ConfigurationException, ServiceException
ConfigurationException
ServiceException
protected java.util.Map getConnectorBindingNamesMapFromUUIDs(java.util.Collection uuids) throws ConfigurationException
ConfigurationException
protected void shutDownConnectorBinding(MMConnectorBinding binding, boolean stopNow) throws AdminException
AdminException
protected java.util.Collection convertPropertyDefinitions(ComponentObject component) throws ConfigurationException
component
-
ConfigurationException
protected java.util.Collection convertPropertyDefinitions(ComponentObject component, java.util.Properties properties) throws ConfigurationException
ConfigurationException
protected java.util.Collection convertPropertyDefinitions(ComponentType ctype, java.util.Properties properties)
protected java.util.Collection getAdminObjects(java.lang.String identifier, java.lang.String className) throws AdminException
identifier
- className
-
AdminException
protected ConfigurationModelContainer getConfigurationModel() throws ConfigurationException
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |