
package org.mule.modules.salesforce.adapters;

import javax.annotation.Generated;
import org.mule.api.MuleContext;
import org.mule.api.config.MuleProperties;
import org.mule.api.context.MuleContextAware;
import org.mule.api.store.ObjectStoreManager;
import org.mule.modules.salesforce.SalesforceModule;


/**
 * A <code>SalesforceModuleInjectionAdapter</code> is a wrapper around {@link SalesforceModule } that allows the injection of several Mule facilities when a MuleContext is set.
 * 
 */
@Generated(value = "Mule DevKit Version 3.4-SNAPSHOT", date = "2012-07-18T11:29:04-05:00", comments = "Build UNKNOWN_BUILDNUMBER")
public class SalesforceModuleInjectionAdapter
    extends SalesforceModuleProcessAdapter
    implements MuleContextAware
{


    @Override
    public void setMuleContext(MuleContext context) {
        super.setObjectStoreManager(((ObjectStoreManager) context.getRegistry().get(MuleProperties.OBJECT_STORE_MANAGER)));
        super.setRegistry(context.getRegistry());
    }

}
