Package org.jboss.system.microcontainer

Examples of org.jboss.system.microcontainer.ServiceControllerContext


/* 602 */       log.fatal("Registration of ServiceController failed");
/*     */     }
/*     */     else
/*     */     {
/* 606 */       KernelController controller = this.kernel.getController();
/* 607 */       ServiceControllerContext context = new ServiceControllerContext(this, MBeanRegistration.OBJECT_NAME);
/* 608 */       context.setMode(ControllerMode.AUTOMATIC);
/*     */       try
/*     */       {
/* 611 */         controller.install(context);
/*     */       }
/*     */       catch (Throwable t)
View Full Code Here


/* 182 */     return result;
/*     */   }
/*     */
/*     */   public void visit(ServiceMetaDataVisitor visitor)
/*     */   {
/* 187 */     ServiceControllerContext context = visitor.getControllerContext();
/* 188 */     Object name = context.getName();
/* 189 */     ControllerState whenRequired = visitor.getContextState();
/*     */
/* 191 */     DependencyItem item = new AbstractDependencyItem(name, this.dependency, whenRequired, this.dependentState);
/* 192 */     visitor.addDependency(item);
/*     */
View Full Code Here

/* 105 */     this.iDependOnObjectName = iDependOn;
/*     */   }
/*     */
/*     */   public void visit(ServiceMetaDataVisitor visitor)
/*     */   {
/* 110 */     ServiceControllerContext context = visitor.getControllerContext();
/* 111 */     Object name = context.getName();
/* 112 */     Object other = this.iDependOn;
/*     */     try
/*     */     {
/* 115 */       other = getIDependOnObjectName().getCanonicalName();
/*     */     }
View Full Code Here

/* 192 */     return objectName;
/*     */   }
/*     */
/*     */   public void visit(ServiceMetaDataVisitor visitor)
/*     */   {
/* 197 */     ServiceControllerContext context = visitor.getControllerContext();
/* 198 */     Object name = context.getName();
/* 199 */     Object other = this.dependency;
/*     */     try
/*     */     {
/* 202 */       other = getObjectName().getCanonicalName();
/*     */     }
View Full Code Here

/* 151 */     return getObjectNames();
/*     */   }
/*     */
/*     */   public void visit(ServiceMetaDataVisitor visitor)
/*     */   {
/* 156 */     ServiceControllerContext context = visitor.getControllerContext();
/* 157 */     Object name = context.getName();
/* 158 */     List list = this.dependencies;
/*     */     try
/*     */     {
/* 161 */       List names = getObjectNames();
/* 162 */       list = new ArrayList(names.size());
View Full Code Here

TOP

Related Classes of org.jboss.system.microcontainer.ServiceControllerContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.