Package com.microsoft.windowsazure.services.blob.models

Examples of com.microsoft.windowsazure.services.blob.models.ListContainersResult$Container


   private static final Logger log = Logger.getLogger(ClusteredIsLocalInterceptor.class);
  
   public Object invoke(Invocation invocation) throws Throwable
   {
      Container localContainer = findLocalContainer(invocation);
      if (localContainer != null)
      {
         return invokeLocal(invocation, localContainer);
      }
      return invocation.invokeNext();
View Full Code Here


   private Container findLocalContainer(Invocation invocation)
   {
      String guid = (String)invocation.getMetaData(IS_LOCAL, GUID);
      String partitionName = (String) invocation.getMetaData(ClusterConstants.CLUSTERED_REMOTING, ClusterConstants.PARTITION_NAME);
     
      Container container = null;
      try
      {
         container = Ejb3Registry.findContainer(guid);
         if (container == null)
         {
View Full Code Here

   public Object invoke(Invocation invocation) throws Throwable
   {
      if (isLocal())
      {
         String guid = (String)invocation.getMetaData(IS_LOCAL, GUID);
         Container container = Ejb3Registry.getContainer(guid);
        
         return invokeLocal(invocation, container);
      }
      return invocation.invokeNext();
   }
View Full Code Here

{
   private static final Logger log = Logger.getLogger(AuthenticationInterceptorFactory.class);
  
   public Object createPerClass(Advisor advisor)
   {
      Container container = EJBContainer.getEJBContainer(advisor);
      AuthenticationManager manager = container.getSecurityManager(AuthenticationManager.class);
      log.debug("Creating interceptor with authentication manager '" + manager + "'" + (manager != null ? " (security domain '" + manager.getSecurityDomain() + "')" : ""));
      //return new Ejb3AuthenticationInterceptor(manager, container);
     
      return new Ejb3AuthenticationInterceptorv2(container);
   }
View Full Code Here

      if (ret != null)
      {
         return ret;
      }
     
      Container container = Ejb3Registry.findContainer(containerGuid);
      if (isClustered && container == null && Ejb3Registry.hasClusterContainer(containerClusterUid))
         container = Ejb3Registry.getClusterContainer(containerClusterUid);
      
      if (container == null)
         throw new EJBException("Invalid (i.e. remote) invocation of local interface (null container) for " + containerGuid);
View Full Code Here

                  encName = "java:comp/UserTransaction";
               }
            }
            else if (TimerService.class.getName().equals(envRef.getType()))
            {
               final Container ic = (Container) container;
               InjectorFactory<?> factory = new InjectorFactory<TimerServicePropertyInjector>()
               {
                  public TimerServicePropertyInjector create(BeanProperty property)
                  {
                     return new TimerServicePropertyInjector(property, ic);
View Full Code Here

                     mappedName = "java:comp/UserTransaction";
                  }
               }
               else if (resType.equals(TimerService.class))
               {
                  final Container ic = (Container) container;
                  InjectorFactory<?> factory = new InjectorFactory<TimerServicePropertyInjector>()
                  {
                     public TimerServicePropertyInjector create(BeanProperty property)
                     {
                        return new TimerServicePropertyInjector(property, ic);
View Full Code Here

      }
      // search everywhere
      Iterator containers = Ejb3Registry.getContainers().iterator();
      while (containers.hasNext())
      {
         Container container = (Container)containers.next();
         EJBContainer ejbContainer = (EJBContainer) container;
         if (ejbContainer == rtnContainer) continue;
         if (ProxyFactoryHelper.publishesInterface(container, businessIntf))
         {
            if (rtnContainer != null)
View Full Code Here

   public Object invoke(Invocation invocation) throws Throwable
   {
      if (isLocal())
      {
         String guid = (String)invocation.getMetaData(IS_LOCAL, GUID);
         Container container = Ejb3Registry.getContainer(guid);
        
         return invokeLocal(invocation, container);
      }
      return invocation.invokeNext();
   }
View Full Code Here

    * @param containerName The name of the container
    */
   private void unregisterContainer(String containerName)
   {
      // remove (any) locally stored reference to container
      Container container = this.singletonContainers.remove(containerName);
      // unregister from Ejb3Registry
      if (container != null)
      {
         Ejb3Registry.unregister(container);
      }
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.services.blob.models.ListContainersResult$Container

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.