Interface IMetaContext
- All Superinterfaces:
IComponent
,IComponentProvider
,IInitializable
,IURIResolver
The meta context provides the various meta services for a given
datasource.
Each meta context is a singleton for the given datasource, therefore
you can use ==, although
Object.equals(java.lang.Object)
is supported.
This is a component as well as a component provider.
Not all services are documented since some are internal system services
and not for public use, and may not be supported in future versions.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Access Service component namestatic final String
Alias Service component namestatic final String
Access Service component namestatic final String
Event Service component namestatic final String
Legacy Service component namestatic final String
Query Service component namestatic final String
Relation Service component namestatic final String
Schedule Service component namestatic final String
Service Thing Service component namestatic final String
Subscription Service component namestatic final String
Thing Service component namestatic final String
ThingID Service component namestatic final String
Type Service component namestatic final String
User Service component namestatic final String
View Service component namestatic final String
Watch Service component namestatic final String
XType Service component nameFields inherited from interface com.webmethods.portal.system.IComponentProvider
ATTR_APP_NAME, ATTR_BEG_QUERY, ATTR_END_QUERY, ATTR_MID_QUERY, BIZPOLICY_MANAGER, CACHE_PROVIDER, COMMAND_PROVIDER, COMPONENTS_QUERY, INSTALL_PROVIDER, MECH_PROVIDER, METACONTEXT_PROVIDER, PHASE_PROVIDER, POLICY_PROVIDER, SEARCH_PROVIDER
-
Method Summary
Modifier and TypeMethodDescriptioncreates a SQL worker object for use in making DB calls.access controlDeprecated.gets the datasourceint
gets the datasource IDMananaged DBO serviceDeprecated.returns the metadata managerDeprecated.queries that return thingIDListsmanages relations between thingsmanage the schedulerGets the service thing ID for the datasource of this metaContextservice things manage access to servicesmanage subscriptionscreates thing IDsmanages thingsmanages base thing typesmanipulates directory-based thingsdifferent views on containersDeprecated.manages xtypes(DBO's)boolean
isRemote()
returns true if the object is from a datasource other than the defaultMethods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.IComponentProvider
exists, getComponent, getComponent, getComponent, getComponentQueryString, getComponents, getDefaultComponent, getLogger, initDeferredWebAppComponents, lookup, registerComponent, reloadComponent, reloadComponent, unregisterComponent, upgradeComponentDataFromBootstrapComponentData
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
Methods inherited from interface com.webmethods.portal.system.IURIResolver
acquireURI, acquireURI
-
Field Details
-
USER_SERVICE
User Service component name- See Also:
-
THINGID_SERVICE
ThingID Service component name- See Also:
-
THING_SERVICE
Thing Service component name- See Also:
-
RELATION_SERVICE
Relation Service component name- See Also:
-
TYPE_SERVICE
Type Service component name- See Also:
-
XTYPE_SERVICE
XType Service component name- See Also:
-
EVENT_SERVICE
Event Service component name- See Also:
-
VIEW_SERVICE
View Service component name- See Also:
-
QUERY_SERVICE
Query Service component name- See Also:
-
ACCESS_SERVICE
Access Service component name- See Also:
-
DBO_STORAGE_SERVICE
Access Service component name- See Also:
-
SERVICETHING_SERVICE
Service Thing Service component name- See Also:
-
WATCH_SERVICE
Watch Service component name- See Also:
-
SUBSCRIPTION_SERVICE
Subscription Service component name- See Also:
-
METADATA_SERVICE
Legacy Service component name- See Also:
-
SCHEDULE_SERVICE
Schedule Service component name- See Also:
-
ALIAS_SERVICE
Alias Service component name- See Also:
-
-
Method Details
-
createWorker
creates a SQL worker object for use in making DB calls.- Returns:
- Throws:
SQLException
-
getDatasourceID
int getDatasourceID()gets the datasource ID -
getDatasource
String getDatasource()gets the datasource -
getServiceID
Gets the service thing ID for the datasource of this metaContext- Returns:
- Throws:
MetaException
- See Also:
-
ConnectionInfo
-
isRemote
boolean isRemote()returns true if the object is from a datasource other than the default -
getManager
IMetaManager getManager()returns the metadata manager -
getUserService
IUserService getUserService()manipulates directory-based things- Returns:
- IUserService
-
getThingIDService
IThingIDService getThingIDService()creates thing IDs- Returns:
-
getThingService
IThingService getThingService()manages things- Returns:
-
getRelationService
IRelationService getRelationService()manages relations between things- Returns:
-
getTypeService
ITypeService getTypeService()manages base thing types- Returns:
-
getXTypeService
IXTypeService getXTypeService()manages xtypes(DBO's)- Returns:
-
getMetaEventService
Deprecated.send events to remote services- Returns:
-
getViewService
IMetaViewService getViewService()different views on containers- Returns:
-
getQueryService
IMetaQueryService getQueryService()queries that return thingIDLists- Returns:
-
getAccessService
IAccessService getAccessService()access control- Returns:
-
getDBOStorageService
IDBOStorageService getDBOStorageService()Mananaged DBO service- Returns:
-
getServiceThingService
IServiceThingService getServiceThingService()service things manage access to services- Returns:
-
getWatchService
Deprecated.watches access to things, useful for creating dependencies- Returns:
-
getSubscriptionService
ISubscriptionService getSubscriptionService()manage subscriptions- Returns:
-
getLegacyMetadataService
Deprecated.gets the original 5.0-pre 5.5 metadata service cast this to IMetadataService -
getScheduleService
IScheduleService getScheduleService()manage the scheduler- Returns:
-
getAliasService
Deprecated.alias service- Returns:
-